Introductory lab for C++ development
In order to complete this lab you should fulfill the following prerequisites:
- Install Docker Desktop in your host machine
- Install Visual Studio Code
The docker image is specified in the file .devcontainer/Dockerfile
.
We will be able to use the image from the command line or from the VSCode development environment.
To build the image you can just do:
docker build -f .devcontainer/Dockerfile -t cpp-intro-lab .
If you want run an interactive comand line interpreter inside the container you can do:
docker run --rm -v $(pwd):/workspace -w /workspace -it cpp-intro-lab
You will be able to run commands inside the container. Try the following commands:
g++ --version
clang++ --version
cmake --version