From efd7ffb9c90178e3f3fa67353a1ac7dddb7211c2 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 12 Feb 2026 00:16:45 +0100 Subject: [PATCH] Dockerfile: update tonistiigi/xx v1.9.0 Also add a well-formatted comment (for outputing in `docker build --call=outline .`); docker build -q --call=outline . BUILD ARG VALUE DESCRIPTION GO_VERSION 1.23.7 ALPINE_VERSION 3.21 XX_VERSION 1.9.0 version of the tonistiigi/xx utility to use. PKG github.com/distribution/distribution/v3 LDFLAGS -s -w BUILDTAGS full diff: https://github.com/tonistiigi/xx/compare/v1.6.1...v1.9.0 Signed-off-by: Sebastiaan van Stijn --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c79392e96..da204cb39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,10 @@ ARG GO_VERSION=1.23.7 ARG ALPINE_VERSION=3.21 -ARG XX_VERSION=1.6.1 + +# XX_VERSION sets the version of the tonistiigi/xx utility to use. +# It must be a valid tag in the docker.io/tonistiigi/xx image repository. +ARG XX_VERSION=1.9.0 FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base