Debian Codegraph @

.devcontainer/Dockerfile

raw
1 FROM mcr.microsoft.com/devcontainers/cpp:1-debian-12
2
3 ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="3.28.1"
4
5 # Optionally install the cmake for vcpkg
6 COPY ./reinstall-cmake.sh /tmp/
7
8 RUN if [ "${REINSTALL_CMAKE_VERSION_FROM_SOURCE}" != "none" ]; then \
9 chmod +x /tmp/reinstall-cmake.sh && /tmp/reinstall-cmake.sh ${REINSTALL_CMAKE_VERSION_FROM_SOURCE}; \
10 fi \
11 && rm -f /tmp/reinstall-cmake.sh
12
13 # [Optional] Uncomment this section to install additional vcpkg ports.
14 # RUN su vscode -c "${VCPKG_ROOT}/vcpkg install <your-port-name-here>"
15
16 # [Optional] Uncomment this section to install additional packages.
17 RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
18 && apt-get -y install --no-install-recommends libssl-dev libpopt-dev clang-format clangd xmlto doxygen