diff --git a/images/kindnetd/Dockerfile b/images/kindnetd/Dockerfile index 1a51b1952c..3d69513053 100644 --- a/images/kindnetd/Dockerfile +++ b/images/kindnetd/Dockerfile @@ -14,7 +14,7 @@ # first stage build kindnetd binary # NOTE: the actual go version will be overridden -FROM --platform=$BUILDPLATFORM golang:latest +FROM --platform=$BUILDPLATFORM docker.io/library/golang:latest WORKDIR /go/src COPY --chmod=0755 scripts/third_party/gimme/gimme /usr/local/bin/ # make deps fetching cacheable diff --git a/images/local-path-provisioner/Dockerfile b/images/local-path-provisioner/Dockerfile index 410b495620..5c14e8817c 100644 --- a/images/local-path-provisioner/Dockerfile +++ b/images/local-path-provisioner/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # NOTE the actual go version will be overridden -FROM --platform=$BUILDPLATFORM golang:latest +FROM --platform=$BUILDPLATFORM docker.io/library/golang:latest COPY --chmod=0755 scripts/third_party/gimme/gimme /usr/local/bin/ RUN git clone --filter=tree:0 https://github.com/rancher/local-path-provisioner ARG VERSION