Merge pull request #3521 from thaJeztah/20.10_backport_dockerfile_update_xx

[20.10 backport] Dockerfile: update xx to 1.1
This commit is contained in:
Sebastiaan van Stijn 2022-04-14 16:13:54 +02:00 committed by GitHub
commit b10a23a46f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
ARG BASE_VARIANT=alpine
ARG GO_VERSION=1.16.15
ARG XX_VERSION=1.0.0-rc.2
ARG XX_VERSION=1.1.0
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} AS gostable
FROM --platform=$BUILDPLATFORM golang:1.17rc1-${BASE_VARIANT} AS golatest
@ -55,7 +55,7 @@ RUN --mount=ro --mount=type=cache,target=/root/.cache \
TARGET=/out ./scripts/build/binary && \
xx-verify $([ "$GO_LINKMODE" = "static" ] && echo "--static") /out/docker
FROM build-base-${BASE_VARIANT} AS dev
FROM build-base-${BASE_VARIANT} AS dev
COPY . .
FROM scratch AS binary