Parent image: invasy/dev-env-cpp.
Tool | Version |
---|---|
Debian (slim) | 11.4 (Bullseye) |
[GPG] | 2.2.27 |
[libgcrypt] | 1.8.8 |
OpenSSH server | 8.4p1 |
rsync | 3.2.3 |
CMake | 3.23.5 |
ninja | 1.11.1 |
GNU Make | 4.3 |
GNU Debugger (gdb) with gdbserver | 10.1 |
clang/llvm | 14 |
- Build image:
make build-clang
- Run service:
make up-clang
- Set up CLion toolchain (see below).
- Build, run, debug your project using toolchain in the container.
- Stop service:
make down-clang
- Name:
dev-env-clang
- Credentials: see SSH Configurations below
- CMake:
/usr/local/bin/cmake
- Make:
/usr/local/bin/ninja
(see also CMake below) - C Compiler:
/usr/bin/clang-14
(should be detected) - C++ Compiler:
/usr/bin/clang++-14
(should be detected) - Debugger:
/usr/bin/gdb
(should be detected)
- Host:
127.0.0.1
- Port:
22001
- Authentication type:
Password
- User name:
builder
- Password:
builder
- Profiles:
- Debug (or any other profile):
- CMake options:
-G Ninja
- CMake options:
- Debug (or any other profile):
# ~/.ssh/config
Host dev-env-clang
User builder
HostName 127.0.0.1
Port 22001
HostKeyAlias dev-env-clang
StrictHostKeyChecking no
NoHostAuthenticationForLocalhost yes
PreferredAuthentications password
PasswordAuthentication yes
PubkeyAuthentication no
Remove old host key from ~/.ssh/known_hosts
after image rebuilding (note HostKeyAlias
in config above):
ssh-keygen -f "$HOME/.ssh/known_hosts" -R 'dev-env-clang'
ssh dev-env-clang
- User name:
builder
- Password:
builder