diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7dfee08..a9b7202 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,7 +5,8 @@ "dockerfile": "Dockerfile" }, "features": { - "ghcr.io/devcontainers-contrib/features/pre-commit:2": {} + "ghcr.io/devcontainers-contrib/features/pre-commit:2": {}, + "ghcr.io/dhoeric/features/hadolint:1": {} }, "customizations": { "vscode": { @@ -13,6 +14,7 @@ "charliermarsh.ruff", "codezombiech.gitignore", "eamodio.gitlens", + "exiasr.hadolint", "kevinrose.vsc-python-indent", "mosapride.zenkaku", "ms-python.python", diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c6e706a..3934432 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,6 +19,5 @@ repos: name: Lint Dockerfiles description: Runs hadolint to lint Dockerfiles language: system - files: ["Dockerfile", ".devcontainer/Dockerfile"] types: ["dockerfile"] entry: hadolint