Debian Codegraph @

.devcontainer/Dockerfile

raw
1 FROM mcr.microsoft.com/devcontainers/cpp:1-debian-12
2
3 ARG REINSTALL_CMAKE_VERSION_FROM_SOURCE="none"
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 RUN apt-get update && apt-get install -y nodejs npm
14
15 # [Optional] Uncomment this section to install additional vcpkg ports.
16 # RUN su vscode -c "${VCPKG_ROOT}/vcpkg install <your-port-name-here>"
17
18 # [Optional] Uncomment this section to install additional packages.
19 # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
20 # && apt-get -y install --no-install-recommends <your-package-list-here>