diff --git a/.hadolint.yaml b/.hadolint.yaml deleted file mode 100644 index a219520..0000000 --- a/.hadolint.yaml +++ /dev/null @@ -1,4 +0,0 @@ -ignored: - - DL3008 - - SC2028 - - DL3003 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 219778c..9b89f2d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -16,14 +16,14 @@ repos: - id: shellcheck - id: shfmt - repo: https://github.com/hadolint/hadolint - rev: v2.12.0 + rev: v2.12.1-beta hooks: - id: hadolint-docker - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.37.0 + rev: v0.39.0 hooks: - id: markdownlint - repo: https://github.com/wemake-services/dotenv-linter - rev: 0.4.0 # Use the ref you want to point at + rev: 0.5.0 # Use the ref you want to point at hooks: - id: dotenv-linter diff --git a/Dockerfile.template b/Dockerfile.template index b700bfa..d25373f 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -5,6 +5,7 @@ # production image and consume unnecessary space. ############################################################################## +# hadolint global ignore=DL3008 FROM ubuntu:22.04 as setup ENV IB_GATEWAY_VERSION=$VERSION diff --git a/Dockerfile.tws.template b/Dockerfile.tws.template index d8fe87c..0844b83 100644 --- a/Dockerfile.tws.template +++ b/Dockerfile.tws.template @@ -4,6 +4,9 @@ # This is a dedicated stage used as source for needed files. # ############################################################################## + +# hadolint global ignore=DL3008 + ARG IB_VERSION=$VERSION FROM ghcr.io/gnzsnz/ib-gateway:${IB_VERSION} as setup