mirror of
https://github.com/distribution/distribution.git
synced 2026-02-21 14:22:14 +00:00
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 <github@gone.nl>
This commit is contained in:
committed by
Milos Gajdos
parent
2cd77a0f4c
commit
efd7ffb9c9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user