From 7b9a04fd5a7f676cff17b05336c426cf66008556 Mon Sep 17 00:00:00 2001 From: huynaism Date: Sun, 10 Nov 2024 09:59:39 +0700 Subject: [PATCH] ignore hadolint DL3008 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9a7016..941e4c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.22.7 AS builder # Install cli tools for building and final image -RUN apt-get update && apt-get install --no-install-recommends -y make=4.3-4.1 git=1:2.39.5-0+deb12u1 bash=5.2.15-2+b7 gcc=4:12.2.0-3 curl=7.88.1-10+deb12u7 jq=1.6-2.1 && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install --no-install-recommends -y make git bash gcc curl jq && rm -rf /var/lib/apt/lists/* # Build WORKDIR /go/src/github.com/babylonlabs-io/btc-staker @@ -21,7 +21,7 @@ FROM debian:bookworm-slim AS run SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN addgroup --gid 1138 --system btcstaker && adduser --uid 1138 --system --home /home/btcstaker btcstaker -RUN apt-get update && apt-get install --no-install-recommends -y bash=5.2.15-2+b7 curl=7.88.1-10+deb12u7 jq=1.6-2.1 wget=1.21.3-1+b2 && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates bash curl jq wget && rm -rf /var/lib/apt/lists/* COPY --from=builder /go/src/github.com/babylonlabs-io/btc-staker/go.mod /tmp RUN WASMVM_VERSION=$(grep github.com/CosmWasm/wasmvm /tmp/go.mod | cut -d' ' -f2) && \