From 904e97c01095a7d69993cb42c39d535d9b111942 Mon Sep 17 00:00:00 2001 From: Jakob Gillich Date: Wed, 8 Nov 2023 00:51:28 +0000 Subject: [PATCH] chore: update devcontainer --- .devcontainer/Dockerfile | 5 +---- .devcontainer/devcontainer.json | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index a1549a88..f184babf 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,4 @@ -# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.231.2/containers/debian/.devcontainer/base.Dockerfile - -# [Choice] Debian version (use bullseye on local arm64/Apple Silicon): bullseye, buster -ARG VARIANT="buster" +ARG VARIANT="bookworm" FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} RUN apt-get update \ diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 617001dc..96bbc2eb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,18 +10,19 @@ "VARIANT": "bullseye" } }, - // Set *default* container specific settings.json values on container create. - "settings": {}, - // Add the IDs of extensions you want installed when the container is created. - "extensions": [ - "crystal-lang-tools.crystal-lang", - "kosz78.nim", - "scala-lang.scala", - "scalameta.metals", - "esbenp.prettier-vscode", - "mjmcloug.vscode-elixir", - "jnoortheen.nix-ide" - ], + "customizations": { + "vscode": { + "extensions": [ + "crystal-lang-tools.crystal-lang", + "kosz78.nim", + "scala-lang.scala", + "scalameta.metals", + "esbenp.prettier-vscode", + "mjmcloug.vscode-elixir", + "jnoortheen.nix-ide" + ] + } + }, "workspaceMount": "", "runArgs": [ "--volume=${localWorkspaceFolder}:/workspaces/${localWorkspaceFolderBasename}:Z"