Skip to content

Commit

Permalink
Merge pull request #2 from a5chin/feature/hadolint
Browse files Browse the repository at this point in the history
fix: hadolint in Dev Container
  • Loading branch information
a5chin authored Apr 9, 2024
2 parents c52b674 + 3bb0380 commit 3335ee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
"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": {
"extensions": [
"charliermarsh.ruff",
"codezombiech.gitignore",
"eamodio.gitlens",
"exiasr.hadolint",
"kevinrose.vsc-python-indent",
"mosapride.zenkaku",
"ms-python.python",
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ repos:
name: Lint Dockerfiles
description: Runs hadolint to lint Dockerfiles
language: system
files: ["Dockerfile", ".devcontainer/Dockerfile"]
types: ["dockerfile"]
entry: hadolint

0 comments on commit 3335ee4

Please sign in to comment.