Add Dockerfile and devcontainer.json for development environment setup

This commit is contained in:
Cédric Verstraeten
2025-05-20 12:13:39 +02:00
parent a7815a692c
commit 4fc5593195
2 changed files with 23 additions and 0 deletions

8
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM mcr.microsoft.com/devcontainers/go:1.24-bookworm
# Install node environment
RUN apt-get update && \
apt-get install -y --no-install-recommends \
nodejs \
npm \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -0,0 +1,15 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "go:1.24.2-bookworm",
"dockerFile": "Dockerfile",
"customizations": {
"vscode": {
"extensions": [
"GitHub.copilot",
"golang.go",
"GitHub.vscode-pull-request-github"
]
}
}
}