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
// 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"
]
}
}
}