From 210f03b8b0111a1050178541dea47ad1141c22c6 Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Sun, 25 Feb 2024 09:01:05 +0100 Subject: [PATCH] Check that pixi is executable --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f2414fb..dc74958 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ RUN apt update && apt install -y curl # download the musl build since the gnu build is not available on aarch64 RUN curl -Ls \ "https://github.com/prefix-dev/pixi/releases/download/v${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \ - -o /pixi + -o /pixi && chmod +x /pixi +RUN /pixi --version FROM --platform=$TARGETPLATFORM $BASE_IMAGE COPY --from=builder --chown=root:root --chmod=0555 /pixi /usr/local/bin/pixi