diff --git a/build/controller/Dockerfile b/build/controller/Dockerfile index 5ee7ea47b..fb5ba45b0 100644 --- a/build/controller/Dockerfile +++ b/build/controller/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. ARG GO_BASE_IMAGE ARG DISTROLESS_BASE_IMAGE=gcr.io/distroless/static:nonroot -FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE as builder +FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE AS builder WORKDIR /workspace COPY . . diff --git a/build/scheduler/Dockerfile b/build/scheduler/Dockerfile index 131d27d2e..49e246d50 100644 --- a/build/scheduler/Dockerfile +++ b/build/scheduler/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. ARG GO_BASE_IMAGE ARG DISTROLESS_BASE_IMAGE=gcr.io/distroless/static:nonroot -FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE as builder +FROM --platform=${BUILDPLATFORM} $GO_BASE_IMAGE AS builder WORKDIR /workspace COPY . .