Skip to content

Commit

Permalink
Bump hadolint to 2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Nov 18, 2024
1 parent bacb7dc commit b2c2850
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr_pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN_VERSION: "1.81.0"
HADOLINT_VERSION: "v1.17.6"
HADOLINT_VERSION: "v2.12.0"

jobs:
pre-commit:
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN apt-get update && \

WORKDIR /
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=SC1091
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.81.0 && . "${HOME}/.cargo/env"

WORKDIR /trino-lb
Expand All @@ -16,6 +17,7 @@ COPY trino-lb-bench trino-lb-bench
COPY trino-lb-core trino-lb-core
COPY trino-lb-persistence trino-lb-persistence

# hadolint ignore=SC1091
RUN . "$HOME/.cargo/env" && cargo build --release --all-features

# Build final image
Expand Down

0 comments on commit b2c2850

Please sign in to comment.