Skip to content

Commit

Permalink
Check that pixi is executable (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Feb 25, 2024
1 parent 9c6ce38 commit 0d7d0b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0d7d0b4

Please sign in to comment.