We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e157f commit f6f42ddCopy full SHA for f6f42dd
Dockerfile
@@ -1,5 +1,5 @@
1
# Build the manager binary
2
-FROM --platform=$BUILDPLATFORM golang:1.24.3 as builder
+FROM --platform=$BUILDPLATFORM golang:1.24.3 AS builder
3
4
WORKDIR /workspace
5
@@ -30,7 +30,7 @@ ARG TARGETPLATFORM TARGETOS TARGETARCH TARGETVARIANT VERSION=dev COMMIT_SHA=dev
30
# to avoid https://github.com/moby/buildkit/issues/2334
31
# We can use docker layer cache so the build is fast enogh anyway
32
# We also use per-platform GOCACHE for the same reason.
33
-ENV GOCACHE /build/${TARGETPLATFORM}/root/.cache/go-build
+ENV GOCACHE="/build/${TARGETPLATFORM}/root/.cache/go-build"
34
35
# Build
36
RUN --mount=target=. \
0 commit comments