Skip to content

Add building and container recipes#17

Open
vincentrein wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
vincentrein:main
Open

Add building and container recipes#17
vincentrein wants to merge 1 commit intoSimulation-Software-Engineering:mainfrom
vincentrein:main

Conversation

@vincentrein
Copy link

My GitLab name is reinvt

Note for building on macOS:

On my macOS (ARM) system, I had to build the Docker image using:

docker build --platform=linux/amd64 -t cmake-exercise .

However I think on a standard x86 Linux system ,

docker build -t cmake-exercise .

would be sufficient.

After building the image (which takes some time), run the container using:

docker run -it cmake-exercise

And finally build the program using:

./build_and_run.sh

….txt, Dockerfile, main.cpp and build_and_run.sh
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