Skip to content

Commit

Permalink
Switch to golang:alpine as builder (docker-library/golang#502).
Browse files Browse the repository at this point in the history
  • Loading branch information
a-bali committed Feb 8, 2024
1 parent 6f2ea53 commit 88b1902
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM golang:latest as builder
FROM golang:alpine as builder

COPY . /build/janitor
WORKDIR /build/janitor

RUN apk --no-cache add make
RUN make static_build

FROM alpine:latest
Expand Down

0 comments on commit 88b1902

Please sign in to comment.