From 1a478664fe280d8583e7387a3ce80aa6ca4b3769 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 18 Oct 2023 08:29:58 +0200 Subject: [PATCH] Dockerfile: update xx to 1.3.0 Signed-off-by: CrazyMax (cherry picked from commit 5955ccf77c3618970d336821fd75857155f9b6b9) Signed-off-by: Andrey Epifanov # Conflicts: # Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3dc9c06c60ffc..f9f2c4f4f66f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,13 +14,14 @@ ARG CNI_VERSION=v1.1.0 ARG STARGZ_SNAPSHOTTER_VERSION=v0.11.3 ARG ALPINE_VERSION=3.15 +ARG XX_VERSION=1.3.0 # git stage is used for checking out remote repository sources FROM --platform=$BUILDPLATFORM alpine:${ALPINE_VERSION} AS git RUN apk add --no-cache git # xx is a helper for cross-compilation -FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.2.1 AS xx +FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx FROM --platform=$BUILDPLATFORM golang:1.18-alpine${ALPINE_VERSION} AS golatest