README.md 1.22 KB
Newer Older
Dominique Marcadet's avatar
Dominique Marcadet committed
1
# docker-openvscode-server-cpp
Dominique Marcadet's avatar
Dominique Marcadet committed
2

3
## What
Dominique Marcadet's avatar
Dominique Marcadet committed
4

5
6
This image is based on [docker-openvscode-server](https://gitlab-research.centralesupelec.fr/my-docker-images/docker-openvscode-server),
it adds the needed tools for C/C++ development.
Dominique Marcadet's avatar
Dominique Marcadet committed
7

8
9
10
11
12
13
14
15
16
Included tools are:
- g++-11 (as g++), gcc-11 (as gcc)
- clang++-14 (as c++), clang-14 (as cc)
- clangd with its [VSCode extension](https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd)
- gdb
- lldb
- VSCode [extension for lldb](https://github.com/vadimcn/vscode-lldb)
- [CMake](https://cmake.org)
- [Boost](www.boost.org)
Dominique Marcadet's avatar
Dominique Marcadet committed
17
- [GMP](https://gmplib.org)
18
19
20
- [OneTBB](https://spec.oneapi.io/versions/latest/elements/oneTBB/source/nested-index.html)
- [Valgrind](https://valgrind.org)
- [GoogleTest](https://github.com/google/googletest)
Dominique Marcadet's avatar
Dominique Marcadet committed
21
22


23
## Details
Dominique Marcadet's avatar
Dominique Marcadet committed
24

25
26
27
- The exposed port is 3000
- The user folder is `/config`
- the user and sudo password is `abc`
Dominique Marcadet's avatar
Dominique Marcadet committed
28
29
30
31
- if docker is installed on your computer, you can run (amd64 or arm64 architecture) this 
  image, assuming you are in a specific folder that will be shared with the container at 
  `/config`, with:
  
32
33
  `docker run -p 3000:3000 -v "$(pwd):/config"
    gitlab-research.centralesupelec.fr:4567/my-docker-images/docker-openvscode-server-cpp`
Dominique Marcadet's avatar
Dominique Marcadet committed
34