mirror of
https://github.com/m5stack/meshtastic-device-ui.git
synced 2026-05-20 11:51:03 -07:00
Add inital devcontainer
This commit is contained in:
@@ -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/*
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user