diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..70ada49 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -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/* diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..fa9bacc --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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" +}