Skip to content

Commit

Permalink
Clean Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
artjoma committed Nov 29, 2023
1 parent 5676ce3 commit 38519f6
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Support setting various labels on the final image
ARG COMMIT=""
ARG VERSION="1.0.0"
ARG BUILDNUM=""

# Build Geth in a stock Go builder container
FROM golang:1.21-alpine as builder
FROM golang:alpine as builder

RUN apk update --no-cache && apk add --no-cache tzdata linux-headers

Expand All @@ -24,11 +19,4 @@ RUN apk add --no-cache ca-certificates
COPY --from=builder /mosaic/build/mosaic /usr/local/bin/

EXPOSE 25010
ENTRYPOINT ["mosaic"]

# Add some metadata labels to help programatic image consumption
ARG COMMIT=""
ARG VERSION=""
ARG BUILDNUM=""

LABEL commit="$COMMIT" version="$VERSION" buildnum="$BUILDNUM"
ENTRYPOINT ["mosaic"]

0 comments on commit 38519f6

Please sign in to comment.