Skip to content

Commit

Permalink
Ignore Hadolint false positives.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jan 6, 2022
1 parent 571c4cf commit a46b7df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: hadolint/hadolint-action@master
with:
dockerfile: extras/docker/Dockerfile
ignore: DL3006 DL3008 DL3033
ignore: DL3006 DL3008 DL3018 DL3033 DL4006

lint-markdown:
name: Lint Markdown
Expand Down
2 changes: 2 additions & 0 deletions extras/docker/.hadolint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
ignored:
- DL3006
- DL3008
- DL3018
- DL3033
- DL4006
2 changes: 1 addition & 1 deletion extras/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ USER root
# Ensure that the chosen package manger is supported by this Dockerfile
# also ensure that unzip is installed prior to downloading sources

# hadolint ignore=DL3059
# hadolint ignore=SC2039
RUN \
if [ "${PACKAGE_MANAGER}" = "apt" ]; then \
echo -e "\033[0;34mINFO: Using default \"${PACKAGE_MANAGER}\".\033[0m"; \
Expand Down

0 comments on commit a46b7df

Please sign in to comment.