Skip to content

Commit

Permalink
update pre-commit, add hadolint ignores as pragma in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzsnz committed Apr 21, 2024
1 parent 0decadc commit 586f98a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .hadolint.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 1 addition & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.tws.template
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 586f98a

Please sign in to comment.