Skip to content

Commit f6f42dd

Browse files
authored
Fix docker lint warnings (#4074)
1 parent 20e157f commit f6f42dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM --platform=$BUILDPLATFORM golang:1.24.3 as builder
2+
FROM --platform=$BUILDPLATFORM golang:1.24.3 AS builder
33

44
WORKDIR /workspace
55

@@ -30,7 +30,7 @@ ARG TARGETPLATFORM TARGETOS TARGETARCH TARGETVARIANT VERSION=dev COMMIT_SHA=dev
3030
# to avoid https://github.com/moby/buildkit/issues/2334
3131
# We can use docker layer cache so the build is fast enogh anyway
3232
# We also use per-platform GOCACHE for the same reason.
33-
ENV GOCACHE /build/${TARGETPLATFORM}/root/.cache/go-build
33+
ENV GOCACHE="/build/${TARGETPLATFORM}/root/.cache/go-build"
3434

3535
# Build
3636
RUN --mount=target=. \

0 commit comments

Comments
 (0)