Skip to content

Commit

Permalink
hadolint #16,#17
Browse files Browse the repository at this point in the history
  • Loading branch information
huynaism authored and filippos47 committed Nov 22, 2024
1 parent f1dc0d4 commit 589698a
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.23.1 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 589698a

Please sign in to comment.