Skip to content

Add building and container recipes#24

Closed
rico-haas wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
rico-haas:submission
Closed

Add building and container recipes#24
rico-haas wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
rico-haas:submission

Conversation

@rico-haas
Copy link
Copy Markdown

Gitlab username: haasro

Run these commands in the root directory to test the exercise submission:

docker buildx build -t make_rico . && \
docker run -it --mount type=bind,src=.,dst=/mnt/host make_rico

Then, inside the container:

./build_and_run.sh

@rico-haas
Copy link
Copy Markdown
Author

I can't add myself as an Assignee :(

Copy link
Copy Markdown

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good here and works, thanks!

Comment thread CMakeLists.txt
@@ -0,0 +1,19 @@
cmake_minimum_required(VERSION 3.28)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not add the latest version as minimum required if there is no special reason: this might cause issues in older systems.

Comment thread Dockerfile
cmake -DYAML_BUILD_SHARED_LIBS=ON .. && make && make install && \
cd ../../.. && rm -rf yaml-cpp

WORKDIR /mnt/host/
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is a WORKDIR defined, I would expect it to exist independently of the user-defined mount (e.g., with files copied).

@MakisH MakisH closed this Apr 11, 2026
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.

2 participants