Skip to content

Commit

Permalink
Validate xx version, using its git SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Oct 15, 2024
1 parent 37d0722 commit ad2c55a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit ad2c55a

Please sign in to comment.