File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://github.com/devcontainers/images/tree/main/src/cpp
2+ FROM mcr.microsoft.com/devcontainers/cpp:1-debian-12
3+
4+ # [Optional] Uncomment this section to install additional packages.
5+ # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
6+ # && apt-get -y install --no-install-recommends \
7+ # <your-package-list-here> \
8+ # && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/cpp
3+ {
4+ "name" : " C++" ,
5+ "build" : {
6+ "dockerfile" : " Dockerfile"
7+ }
8+
9+ // Features to add to the dev container. More info: https://containers.dev/features.
10+ // "features": {},
11+
12+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
13+ // "forwardPorts": [],
14+
15+ // Use 'postCreateCommand' to run commands after the container is created.
16+ // "postCreateCommand": "gcc -v",
17+
18+ // Configure tool-specific properties.
19+ // "customizations": {},
20+
21+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
22+ // "remoteUser": "root"
23+ }
You can’t perform that action at this time.
0 commit comments