diff --git a/.devcontainer/min/devcontainer.json b/.devcontainer/min/devcontainer.json new file mode 100644 index 000000000..1b33b89bf --- /dev/null +++ b/.devcontainer/min/devcontainer.json @@ -0,0 +1,23 @@ +{ + "image": "mcr.microsoft.com/devcontainers/python:3.11", + "customizations": { + "vscode": { + "extensions": [ + "mads-hartmann.bash-ide-vscode", + "ms-python.python", + "ms-python.vscode-pylance", + "DavidAnson.vscode-markdownlint", + "nefrob.vscode-just-syntax", + "timonwong.shellcheck", + "ms-vscode-remote.remote-containers" + ] + } + }, + "features": { + "ghcr.io/devcontainers/features/node:1.6.1": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2.12.0": {}, + "ghcr.io/guiyomh/features/just:0": {}, + "ghcr.io/devcontainers-extra/features/pre-commit:2": {} + }, + "postCreateCommand": "/bin/bash -ex ./.devcontainer/setup.sh > postCreateCommand.log" +} \ No newline at end of file diff --git a/.devcontainer/min/setup.sh b/.devcontainer/min/setup.sh new file mode 100755 index 000000000..4e60d0125 --- /dev/null +++ b/.devcontainer/min/setup.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +npm install -g @devcontainers/cli + +pre-commit install --install-hooks