Create a fork for magic (#1) #4
Annotations
1 error
Check if version changed
Failed to extract version from file contents (url: https://api.github.com/repos/modular/magic-docker/git/blobs/84f5d39bafe950d9bb11cabd59bbe76139e57be3, sha: 086d025f4910f052099de5eb97edd40b64bcddc2, content: "ARG PIXI_VERSION=0.36.0
ARG BASE_IMAGE=debian:bookworm-slim
FROM --platform=$TARGETPLATFORM ubuntu:24.04 AS builder
# need to specify the ARG again to make it available in this stage
ARG PIXI_VERSION
RUN apt-get update && apt-get 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 && chmod +x /pixi
RUN /pixi --version
FROM --platform=$TARGETPLATFORM $BASE_IMAGE
COPY --from=builder --chown=root:root --chmod=0555 /pixi /usr/local/bin/pixi
")
|