Skip to content

Commit

Permalink
hadolint #16,#17
Browse files Browse the repository at this point in the history
  • Loading branch information
huynaism committed Nov 8, 2024
1 parent 0c9091c commit b877e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 -y make git bash gcc curl jq
RUN apt-get update && apt-get install --no-install-recommends -y make git bash gcc curl jq

# Build
WORKDIR /go/src/github.com/babylonlabs-io/btc-staker
Expand All @@ -20,7 +20,7 @@ RUN BUILD_TAGS=netgo \
FROM debian:bookworm-slim AS run

RUN addgroup --gid 1138 --system btcstaker && adduser --uid 1138 --system --home /home/btcstaker btcstaker
RUN apt-get update && apt-get install -y bash curl jq wget
RUN apt-get update && apt-get install --no-install-recommends -y bash curl jq wget

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

0 comments on commit b877e4f

Please sign in to comment.