revert Alpine Dockerfile to source-build for musl compatibility; restore uv-based Debian Dockerfile for Python 3.14

This commit is contained in:
Andrew Hamilton 2026-07-30 13:01:52 +10:00
parent e35e2aefd5
commit 272b28c46c
2 changed files with 14 additions and 8 deletions

View file

@ -2,11 +2,14 @@
FROM alpine:3.24
RUN apk add sudo python3
COPY dist/eris /usr/local/bin/eris
RUN python3 /usr/local/bin/eris --install-all-tools
RUN apk add gcc g++ make sudo python3-dev musl-dev git cmake glfw-dev pkgconfig libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev wayland-dev libxkbcommon-dev mesa-dev
RUN wget -qO- https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
COPY . eris
RUN uv tool install --python 3.14 ./eris
RUN eris --install-all-tools
ENTRYPOINT ["python3", "/usr/local/bin/eris"]
ENTRYPOINT ["eris"]
# docker build -t eris -f packaging/Dockerfile.arch .
# docker build -t eris -f packaging/Dockerfile.alpine .

View file

@ -2,11 +2,14 @@
FROM debian:trixie
RUN apt-get update && apt-get install -y sudo python3
RUN apt-get update && apt-get install -y curl sudo
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
RUN uv python install 3.14
COPY dist/eris /usr/local/bin/eris
RUN python3 /usr/local/bin/eris --install-all-tools
RUN python3.14 /usr/local/bin/eris --install-all-tools
ENTRYPOINT ["python3", "/usr/local/bin/eris"]
ENTRYPOINT ["python3.14", "/usr/local/bin/eris"]
# docker build -t eris -f packaging/Dockerfile.debian .