mirror of https://github.com/docker/cli.git
Dockerfile: update xx to 1.1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 40d8016627
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
81d965569d
commit
1e6a8ce2b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue