From ad2c55a9035b5fc931cbea46849f9c68ed7d0156 Mon Sep 17 00:00:00 2001 From: Deluan Date: Tue, 15 Oct 2024 16:23:59 -0400 Subject: [PATCH] Validate xx version, using its git SHA --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd5d5d0..69b90b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,13 @@ FROM --platform=$BUILDPLATFORM ghcr.io/crazy-max/osxcross:14.5-debian AS osxcros FROM --platform=$BUILDPLATFORM public.ecr.aws/docker/library/alpine:3.20 AS xx-build -ENV XX_VERSION=1.5.0 +# v1.5.0 +ENV XX_VERSION=b4e4c451c778822e6742bfc9d9a91d7c7d885c8a RUN apk add -U --no-cache git RUN git clone https://github.com/tonistiigi/xx && \ cd xx && \ - git checkout v${XX_VERSION} && \ + git checkout ${XX_VERSION} && \ mkdir -p /out && \ cp src/xx-* /out/