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) && \