Add inital devcontainer

This commit is contained in:
Kalle
2024-11-07 16:11:05 +01:00
parent 7a65d61c52
commit 4638cf9e47
2 changed files with 41 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# trunk-ignore-all(trivy/DS026)
# trunk-ignore-all(trivy/DS002)
# trunk-ignore-all(checkov/CKV_DOCKER_2)
# trunk-ignore-all(checkov/CKV_DOCKER_3)
FROM mcr.microsoft.com/devcontainers/cpp:1-debian-12
# trunk-ignore(terrascan/AC_DOCKER_0002)
# trunk-ignore(hadolint/DL3008)
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends \
ca-certificates \
git \
wget \
zip \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
+26
View File
@@ -0,0 +1,26 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
{
"name": "Meshtastic Device-UI Dev",
"build": {
"dockerfile": "Dockerfile"
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/trunk-io/devcontainer-feature/trunk:1": {},
"ghcr.io/devcontainers/features/node:1": {}
},
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"Trunk.io",
"ms-vscode.cpptools-extension-pack",
"ms-azuretools.vscode-docker"
]
}
},
"postCreateCommand": "npm i lv_i18n -g"
}