Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3298 from thaJeztah/update_xx_image
Browse files Browse the repository at this point in the history
Dockerfile: update tonistiigi/xx to 1.0.0-rc.2, add XX_VERSION arg
Upstream-commit: fe2008d04e80fafd6cab19d70169b06432a47c6d
Component: cli
  • Loading branch information
thaJeztah committed Sep 15, 2021
2 parents 8db8760 + 86f806d commit e538a47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

ARG BASE_VARIANT=alpine
ARG GO_VERSION=1.16.8
ARG XX_VERSION=1.0.0-rc.2

FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-${BASE_VARIANT} AS gostable
FROM --platform=$BUILDPLATFORM golang:1.17rc1-${BASE_VARIANT} AS golatest
Expand All @@ -14,7 +15,7 @@ FROM gostable AS go-windows-arm
FROM golatest AS go-windows-arm64
FROM go-windows-${TARGETARCH} AS go-windows

FROM --platform=$BUILDPLATFORM tonistiigi/xx@sha256:620d36a9d7f1e3b102a5c7e8eff12081ac363828b3a44390f24fa8da2d49383d AS xx
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx

FROM go-${TARGETOS} AS build-base-alpine
COPY --from=xx / /
Expand Down

0 comments on commit e538a47

Please sign in to comment.