Merge pull request #6200 from jbampton/super-linter-validate-dockerfile

super-linter: validate the `Dockerfile` with `hadolint`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-03-15 23:38:22 +09:00
committed by GitHub
3 changed files with 6 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
failure-threshold: info
ignored:
- DL3008 # https://github.com/hadolint/hadolint/wiki/DL3008
- DL3013 # https://github.com/hadolint/hadolint/wiki/DL3013
+1
View File
@@ -24,6 +24,7 @@ jobs:
env:
VALIDATE_BASH: true
# VALIDATE_BASH_EXEC: true
VALIDATE_DOCKERFILE_HADOLINT: true
# VALIDATE_EDITORCONFIG: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_GITLEAKS: true
+1 -1
View File
@@ -8,6 +8,6 @@ WORKDIR /app
COPY Gemfile Gemfile.lock .pre-commit-config.yaml ./
RUN bundle install && pip3 install pre-commit && git init . && pre-commit install-hooks
RUN bundle install && pip3 install --no-cache-dir pre-commit && git init . && pre-commit install-hooks
COPY . .