Skip to content

Conversation

@zezl7
Copy link

@zezl7 zezl7 commented Nov 26, 2025

Description

Creation of an executable container using Docker and CMake.

Changes

  1. Created two new files: Dockerfile and CMakeLists.txt.
  2. Commented in the required code parts in main.cpp for Boost and deal.II.
  3. Implemented the additional yaml task by commenting in the required code parts in main.cpp and adding more functionality to the Dockerfile and CMakeLists.txt.

Changes were both ran locally and on a Docker container.

Instructions

  1. Build a docker image
docker buildx build --tag sse-cmake-image .
  1. Create and run docker container in interactive mode
docker run -it --mount type=bind,src=.,dst=/cmake-exercise sse-cmake-image:latest
  1. Once inside the container, you are inside the cmake-exercise directory, and can run
./build_and_run.sh

Hints

  • GitLab username is @zlatanza.
  • Missing functionality to assign myself to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant