mirror of
https://github.com/nais/wonderwall.git
synced 2026-05-07 08:57:07 +00:00
12 lines
254 B
Docker
12 lines
254 B
Docker
FROM golang:1.21 as builder
|
|
ENV GOOS=linux
|
|
ENV CGO_ENABLED=0
|
|
COPY . /src
|
|
WORKDIR /src
|
|
RUN make wonderwall
|
|
|
|
FROM gcr.io/distroless/static-debian11:nonroot
|
|
WORKDIR /app
|
|
COPY --from=builder /src/bin/wonderwall /app/wonderwall
|
|
ENTRYPOINT ["/app/wonderwall"]
|