File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/ubuntu/.devcontainer/base.Dockerfile
2+
3+ # [Choice] Ubuntu version: bionic, focal
4+ ARG VARIANT="focal"
5+ FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
6+
7+ # [Optional] Uncomment this section to install additional OS packages.
8+ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
9+ && apt-get -y install --no-install-recommends build-essential
10+
11+
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 README at:
2+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.166.1/containers/ubuntu
3+ {
4+ "name" : " Ubuntu" ,
5+ "build" : {
6+ "dockerfile" : " Dockerfile" ,
7+ // Update 'VARIANT' to pick an Ubuntu version: focal, bionic
8+ "args" : { "VARIANT" : " focal" }
9+ },
10+
11+ // Set *default* container specific settings.json values on container create.
12+ "settings" : {
13+ "terminal.integrated.shell.linux" : " /bin/bash"
14+ },
15+
16+ // Add the IDs of extensions you want installed when the container is created.
17+ "extensions" : [
18+ " ms-vscode.cpptools"
19+ ],
20+
21+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
22+ // "forwardPorts": [],
23+
24+ // Use 'postCreateCommand' to run commands after the container is created.
25+ // "postCreateCommand": "uname -a",
26+
27+ // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
28+ "remoteUser" : " vscode"
29+ }
You can’t perform that action at this time.
0 commit comments