From b4a0ed8b4182386e21a85005c40778602d1e139d Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Sat, 28 Jun 2025 17:14:24 +0200 Subject: [PATCH] devcontainer: use prebuilt image --- .devcontainer/Containerfile | 4 ---- .devcontainer/devcontainer.json | 28 +++++++++++++--------------- 2 files changed, 13 insertions(+), 19 deletions(-) delete mode 100644 .devcontainer/Containerfile diff --git a/.devcontainer/Containerfile b/.devcontainer/Containerfile deleted file mode 100644 index 819c032d..00000000 --- a/.devcontainer/Containerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM docker.io/library/ubuntu:latest - -RUN apt-get update -RUN apt-get install -y shellcheck shfmt jq npm git diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index dc806388..0f1eb136 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,18 +1,16 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the -// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node +// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node { - "name": "devcontainer", - "build": { - "dockerfile": "Containerfile" - }, - "customizations": { - "vscode": { - "extensions": [ - "GitHub.vscode-github-actions", - "esbenp.prettier-vscode", - "mads-hartmann.bash-ide-vscode", - "ms-azuretools.vscode-containers" - ] - } - } + "name": "Node.js & TypeScript", + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm", + "customizations": { + "vscode": { + "extensions": [ + "GitHub.vscode-github-actions", + "esbenp.prettier-vscode", + "mads-hartmann.bash-ide-vscode", + "ms-azuretools.vscode-containers" + ] + } + } }