We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65f6e18 commit cfb2e7aCopy full SHA for cfb2e7a
Dockerfile
@@ -1,7 +1,7 @@
1
#syntax=docker/dockerfile:1.4
2
FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.1.0 AS xx
3
4
-FROM --platform=$BUILDPLATFORM golang:1.20-alpine AS builder
+FROM --platform=$BUILDPLATFORM golang:alpine AS builder
5
ARG TARGETPLATFORM
6
ARG BUILDPLATFORM
7
ARG TARGETOS
@@ -15,6 +15,6 @@ RUN --mount=target=/go/pkg/mod,type=cache \
15
--mount=target=/root/.cache,type=cache \
16
xx-go build -ldflags="${GO_LDFLAGS}" -o pizza-oven .
17
18
-FROM scratch
+FROM golang:alpine
19
COPY --from=builder /app/pizza-oven /usr/bin/
20
-CMD ["/usr/bin/pizza-oven"]
+CMD ["/usr/bin/pizza-oven"]
0 commit comments