@@ -8,19 +8,19 @@ docker build -f ./.devcontainer/Dockerfile --tag=my_project:latest .
88docker run -it my_project:latest
99```
1010
11- This command will put you in a ` bash ` session in a Ubuntu 20 .04 Docker container,
11+ This command will put you in a ` bash ` session in a Ubuntu 22 .04 Docker container,
1212with all of the tools listed in the [ Dependencies] ( #dependencies ) section already installed.
13- Additionally, you will have ` g++-11 ` and ` clang++-13 ` installed as the default
13+ Additionally, you will have ` g++-12 ` and ` clang++-15 ` installed as the default
1414versions of ` g++ ` and ` clang++ ` .
1515
1616If you want to build this container using some other versions of gcc and clang,
1717you may do so with the ` GCC_VER ` and ` LLVM_VER ` arguments:
1818
1919``` bash
20- docker build --tag=myproject:latest --build-arg GCC_VER=10 --build-arg LLVM_VER=11 .
20+ docker build --tag=myproject:latest --build-arg GCC_VER=11 --build-arg LLVM_VER=14 .
2121```
2222
23- The CC and CXX environment variables are set to GCC version 11 by default.
23+ The CC and CXX environment variables are set to GCC by default.
2424If you wish to use clang as your default CC and CXX environment variables, you
2525may do so like this:
2626
@@ -29,7 +29,7 @@ docker build --tag=my_project:latest --build-arg USE_CLANG=1 .
2929```
3030
3131You will be logged in as root, so you will see the ` # ` symbol as your prompt.
32- You will be in a directory that contains a copy of the ` cpp_starter_project ` ;
32+ You will be in a directory that contains a copy of the ` cmake_conan_boilerplate_template ` ;
3333any changes you make to your local copy will not be updated in the Docker image
3434until you rebuild it.
3535If you need to mount your local copy directly in the Docker image, see
@@ -45,18 +45,18 @@ docker run -it \
4545You can configure and build [ as directed above] ( #build ) using these commands:
4646
4747``` bash
48- /starter_project # mkdir build
49- /starter_project # cmake -S . -B ./build
50- /starter_project # cmake --build ./build
48+ /cmake_conan_boilerplate_template # mkdir build
49+ /cmake_conan_boilerplate_template # cmake -S . -B ./build
50+ /cmake_conan_boilerplate_template # cmake --build ./build
5151```
5252
53- You can configure and build using ` clang-13 ` , without rebuilding the container,
53+ You can configure and build using ` clang ` , without rebuilding the container,
5454with these commands:
5555
5656``` bash
57- /starter_project # mkdir build
58- /starter_project # CC=clang CXX=clang++ cmake -S . -B ./build
59- /starter_project # cmake --build ./build
57+ /cmake_conan_boilerplate_template # mkdir build
58+ /cmake_conan_boilerplate_template # CC=clang CXX=clang++ cmake -S . -B ./build
59+ /cmake_conan_boilerplate_template # cmake --build ./build
6060```
6161
6262The ` ccmake ` tool is also installed; you can substitute ` ccmake ` for ` cmake ` to
0 commit comments