Skip to content

Commit

Permalink
Even leaner - running image ~36 MB footprint w/ alpine linux and wire…
Browse files Browse the repository at this point in the history
…tap binary
  • Loading branch information
macyabbey authored and daveshanley committed Nov 1, 2024
1 parent a050935 commit 1ca6f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN echo "I am building go for GOOS:$TARGETOS, GOARCH:$TARGETARCH" > /log
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go mod download && go mod verify
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -ldflags="-w -s" -v -o /wiretap wiretap.go

FROM golang:1.23-alpine AS runner
FROM alpine:3.20.3 AS runner

ARG TARGETPLATFORM
ARG BUILDPLATFORM
Expand Down

0 comments on commit 1ca6f78

Please sign in to comment.