From 70a9ecd6b708d5063e3368a861715125d5f05f61 Mon Sep 17 00:00:00 2001 From: shrukan <29954021+sailorbob134280@users.noreply.github.com> Date: Mon, 26 Dec 2022 17:48:47 -0800 Subject: [PATCH] Cleaned up devcontainers config to use prebuilt image --- .devcontainer/devcontainer.json | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ab8ea9f..934c56a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,22 +1,7 @@ // 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 { - "name": "Existing Dockerfile", - "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", + "image": "gitea.shrukanslab.xyz/sl-devs/meson-build", // Configure tool-specific properties. "customizations": { @@ -30,7 +15,4 @@ "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" }