Cleaned up devcontainers config to use prebuilt image

This commit is contained in:
shrukan
2022-12-26 17:48:47 -08:00
parent d3c0220100
commit 70a9ecd6b7

View File

@ -1,22 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the // For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile // README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{ {
"name": "Existing Dockerfile", "image": "gitea.shrukanslab.xyz/sl-devs/meson-build",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile"
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// The basic image doesn't have or need git, but we do to work in it
"postCreateCommand": "apt-get install -y git",
// Configure tool-specific properties. // Configure tool-specific properties.
"customizations": { "customizations": {
@ -30,7 +15,4 @@
"eamodio.gitlens"] "eamodio.gitlens"]
} }
} }
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
} }