From 18555ec635714e7c44a858d55f1fe5b76131c7d2 Mon Sep 17 00:00:00 2001 From: senz Date: Mon, 26 Feb 2024 22:04:00 +0000 Subject: [PATCH] feat: devcontainer updates --- .devcontainer/devcontainer-lock.json | 20 ++++++++++++++++++++ .devcontainer/devcontainer.json | 17 ++++++++++++++--- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer-lock.json b/.devcontainer/devcontainer-lock.json index 622f84f..bc69f78 100644 --- a/.devcontainer/devcontainer-lock.json +++ b/.devcontainer/devcontainer-lock.json @@ -1,5 +1,25 @@ { "features": { + "ghcr.io/devcontainers-contrib/features/act:1": { + "version": "1.0.14", + "resolved": "ghcr.io/devcontainers-contrib/features/act@sha256:3ec9cb495f2b7daba5af1657d40604815bc38af7e0c05a0578eae1c979d4b73a", + "integrity": "sha256:3ec9cb495f2b7daba5af1657d40604815bc38af7e0c05a0578eae1c979d4b73a" + }, + "ghcr.io/devcontainers-contrib/features/pre-commit:2": { + "version": "2.0.17", + "resolved": "ghcr.io/devcontainers-contrib/features/pre-commit@sha256:c18a7604e12b531e5a4e990c630e3f036d932903eb1e3b333e5c9e10a891e1a8", + "integrity": "sha256:c18a7604e12b531e5a4e990c630e3f036d932903eb1e3b333e5c9e10a891e1a8" + }, + "ghcr.io/devcontainers/features/docker-in-docker:2": { + "version": "2.9.2", + "resolved": "ghcr.io/devcontainers/features/docker-in-docker@sha256:9074d8eaf4585ab1498c81a8762078992725614fc7a9cfafe799aa22717a6bbf", + "integrity": "sha256:9074d8eaf4585ab1498c81a8762078992725614fc7a9cfafe799aa22717a6bbf" + }, + "ghcr.io/devcontainers/features/github-cli:1": { + "version": "1.0.11", + "resolved": "ghcr.io/devcontainers/features/github-cli@sha256:464564228ccdd6028f01f8a62a3cfbaf76e9ba7953b29ac0e53ba2c262604312", + "integrity": "sha256:464564228ccdd6028f01f8a62a3cfbaf76e9ba7953b29ac0e53ba2c262604312" + }, "ghcr.io/devcontainers/features/node:1": { "version": "1.4.0", "resolved": "ghcr.io/devcontainers/features/node@sha256:71ff7ada788ab351cc535ca390d079e2cde6c4821c892031851953c2b3859fda", diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 585d6c2..0be012d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,11 +5,22 @@ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/base:jammy", "features": { - "ghcr.io/devcontainers/features/node:1": {} + "ghcr.io/devcontainers/features/node:1": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, + "ghcr.io/devcontainers-contrib/features/act:1": {}, + "ghcr.io/devcontainers-contrib/features/pre-commit:2": {}, }, "containerEnv": { "NODE_OPTIONS": "--openssl-legacy-provider", - } + }, + "customizations": { + "vscode": { + "extensions": [ + "redhat.vscode-yaml", + "fnando.linter" + ] + } + }, // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, @@ -18,7 +29,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "uname -a", + // "postCreateCommand": "", // Configure tool-specific properties. // "customizations": {},