devcontainer: use prebuilt image

This commit is contained in:
Dawid Dziurla
2025-06-28 17:14:24 +02:00
parent 6d98ae34d7
commit b4a0ed8b41
2 changed files with 13 additions and 19 deletions

View File

@ -1,4 +0,0 @@
FROM docker.io/library/ubuntu:latest
RUN apt-get update
RUN apt-get install -y shellcheck shfmt jq npm git

View File

@ -1,18 +1,16 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the // 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", "name": "Node.js & TypeScript",
"build": { "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
"dockerfile": "Containerfile" "customizations": {
}, "vscode": {
"customizations": { "extensions": [
"vscode": { "GitHub.vscode-github-actions",
"extensions": [ "esbenp.prettier-vscode",
"GitHub.vscode-github-actions", "mads-hartmann.bash-ide-vscode",
"esbenp.prettier-vscode", "ms-azuretools.vscode-containers"
"mads-hartmann.bash-ide-vscode", ]
"ms-azuretools.vscode-containers" }
] }
}
}
} }