From b2c28507060dffc64ce995eef1562c30e4661761 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Mon, 18 Nov 2024 15:24:03 +0100 Subject: [PATCH] Bump hadolint to 2.12.0 --- .github/workflows/pr_pre-commit.yaml | 2 +- docker/Dockerfile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_pre-commit.yaml b/.github/workflows/pr_pre-commit.yaml index dd7ee3b..8354f68 100644 --- a/.github/workflows/pr_pre-commit.yaml +++ b/.github/workflows/pr_pre-commit.yaml @@ -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: diff --git a/docker/Dockerfile b/docker/Dockerfile index 84635af..cb34936 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 @@ -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