fix package names for Fedora 44 and Arch; pin Dockerfile base images to current distro releases

This commit is contained in:
Andrew Hamilton 2026-07-30 09:05:58 +10:00
parent c6a076c31d
commit 7e758b4da5
6 changed files with 16 additions and 13 deletions

View file

@ -1,6 +1,6 @@
FROM alpine:3.19.1
FROM alpine:3.24
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

View file

@ -1,15 +1,13 @@
FROM archlinux:base-20240101.0.204074
FROM archlinux:latest
RUN pacman -Sy
RUN pacman --noconfirm -S gcc python-devtools git cmake glfw pkg-config libx11 libxcursor libxrandr libxinerama libxi libxext wayland libxkbcommon mesa
RUN pacman -Sy --noconfirm gcc python make git cmake glfw pkg-config libx11 libxcursor libxrandr libxinerama libxi libxext wayland libxkbcommon mesa sudo
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
COPY . eris
RUN uv tool install --python 3.14 ./eris
RUN chmod a+rwx -R /root
RUN pacman --noconfirm -S sudo
RUN eris --install-all-tools
ENTRYPOINT ["eris"]

View file

@ -1,9 +1,9 @@
FROM debian:bookworm
FROM debian:trixie
RUN apt-get update
RUN apt-get install -y build-essential curl git cmake libglfw3-dev pkg-config libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libwayland-dev libxkbcommon-dev libegl1-mesa-dev
RUN apt-get install -y build-essential curl git cmake libglfw3-dev pkg-config libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libwayland-dev libxkbcommon-dev libegl1-mesa-dev python3-dev
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
COPY . eris

View file

@ -1,8 +1,8 @@
FROM fedora:40
FROM fedora:44
RUN dnf -y install gcc gcc-c++ make curl git cmake glfw-devel pkgconfig libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel libXext-devel wayland-devel libxkbcommon-devel mesa-libEGL-devel
RUN dnf -y install gcc gcc-c++ make curl git cmake glfw-devel pkgconfig libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel libXext-devel wayland-devel libxkbcommon-devel mesa-libEGL-devel python3-devel
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
COPY . eris

View file

@ -1,9 +1,9 @@
FROM ubuntu:24.04
FROM ubuntu:26.04
RUN apt-get update
RUN apt-get install -y build-essential curl git cmake libglfw3-dev pkg-config libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libwayland-dev libxkbcommon-dev libegl1-mesa-dev
RUN apt-get install -y build-essential curl git cmake libglfw3-dev pkg-config libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxext-dev libwayland-dev libxkbcommon-dev libegl1-mesa-dev python3-dev
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
COPY . eris