From 5cf7a902c7f5136b1b30dabd4e27805f9220b8d5 Mon Sep 17 00:00:00 2001 From: klezm <20573323+klezm@users.noreply.github.com> Date: Mon, 4 Nov 2024 15:43:23 +0000 Subject: [PATCH 1/2] Speeds up container build time --- .devcontainer/devcontainer.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3d12cfe1b..f50aa54c5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04", + "image": "mcr.microsoft.com/devcontainers/python:3.11", "customizations": { "vscode": { "extensions": [ @@ -7,17 +7,16 @@ "ms-python.python", "ms-python.vscode-pylance", "DavidAnson.vscode-markdownlint", - "nefrob.vscode-just-syntax" + "nefrob.vscode-just-syntax", + "timonwong.shellcheck", + "ms-vscode-remote.remote-containers" ] } }, "features": { - "ghcr.io/devcontainers/features/python:1.6.4": {}, - "ghcr.io/devcontainers/features/node:1.6.0": {}, + "ghcr.io/devcontainers/features/node:1.6.1": {}, "ghcr.io/devcontainers/features/github-cli:1.0.13": {}, - "ghcr.io/devcontainers/features/docker-in-docker:2.11.0": {}, - "ghcr.io/devcontainers/features/common-utils:2.5.1": {}, - "ghcr.io/lukewiwa/features/shellcheck:0.2.3": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2.12.0": {}, "ghcr.io/guiyomh/features/just:0": {}, "ghcr.io/devcontainers-extra/features/pre-commit:2": {}, "ghcr.io/devcontainers-extra/features/tmux-homebrew:1": {} From 1649e944bf3b6b4bcf3943121d52bb9160cd478c Mon Sep 17 00:00:00 2001 From: klezm <20573323+klezm@users.noreply.github.com> Date: Tue, 12 Nov 2024 22:21:06 +0000 Subject: [PATCH 2/2] Add shellcheck feature --- .devcontainer/devcontainer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f50aa54c5..e27f15483 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,6 +17,7 @@ "ghcr.io/devcontainers/features/node:1.6.1": {}, "ghcr.io/devcontainers/features/github-cli:1.0.13": {}, "ghcr.io/devcontainers/features/docker-in-docker:2.12.0": {}, + "ghcr.io/lukewiwa/features/shellcheck:0.2.3": {}, "ghcr.io/guiyomh/features/just:0": {}, "ghcr.io/devcontainers-extra/features/pre-commit:2": {}, "ghcr.io/devcontainers-extra/features/tmux-homebrew:1": {}