Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit 7e757f2

Browse files
authored
Merge pull request #175 from jumpstarter-dev/crime-for-arm
Cross build python wheels
2 parents 7b1367d + 110e1ee commit 7e757f2

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.devfile/Containerfile.client

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
FROM registry.access.redhat.com/ubi9/ubi:latest AS builder
1+
FROM --platform=$BUILDPLATFORM ghcr.io/astral-sh/uv:latest AS uv
2+
3+
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/ubi:latest AS builder
24
RUN dnf install -y make git && \
35
dnf clean all && \
46
rm -rf /var/cache/dnf
5-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
6-
COPY --from=ghcr.io/astral-sh/uv:latest /uvx /bin/uvx
7+
COPY --from=uv /uv /uvx /bin/
78
ADD . /src
89
RUN make -C /src build
910

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
FROM fedora:40 AS builder
1+
FROM --platform=$BUILDPLATFORM ghcr.io/astral-sh/uv:latest AS uv
2+
3+
FROM --platform=$BUILDPLATFORM fedora:40 AS builder
24
RUN dnf install -y make git && \
35
dnf clean all && \
46
rm -rf /var/cache/dnf
5-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
7+
COPY --from=uv /uv /uvx /bin/
68

79
FROM fedora:40 AS product
810
RUN dnf install -y python3 ustreamer libusb1 && \

0 commit comments

Comments
 (0)