Skip to content

Commit

Permalink
* fix: Use piwheels.org and Python 3.11 to fix armv7 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjw authored Jul 31, 2024
1 parent f1b0100 commit 899f9fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM python:3.12
FROM python:3.11

ARG VERSION

COPY dist/glowprom-$VERSION.tar.gz /

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

RUN . "$HOME/.cargo/env" && pip install /glowprom-$VERSION.tar.gz
RUN pip install /glowprom-$VERSION.tar.gz --extra-index-url https://www.piwheels.org/simple

ENTRYPOINT ["glowprom"]
CMD []

0 comments on commit 899f9fd

Please sign in to comment.