diff --git a/Dockerfile b/Dockerfile index d4d5533a39..cf703478da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,6 @@ ARG PACKAGER_NAME COPY --link --from=goversioninfo /out/goversioninfo /usr/bin/goversioninfo RUN --mount=type=bind,target=.,ro \ --mount=type=cache,target=/root/.cache \ - --mount=from=dockercore/golang-cross:xx-sdk-extras,target=/xx-sdk,src=/xx-sdk \ --mount=type=tmpfs,target=cli/winresources \ # override the default behavior of go with xx-go xx-go --wrap && \ @@ -89,7 +88,6 @@ ARG GO_STRIP ARG CGO_ENABLED ARG VERSION RUN --mount=ro --mount=type=cache,target=/root/.cache \ - --mount=from=dockercore/golang-cross:xx-sdk-extras,target=/xx-sdk,src=/xx-sdk \ xx-go --wrap && \ TARGET=/out ./scripts/build/plugins e2e/cli-plugins/plugins/*