fix Dockerfiles: add git, fix path to ./eris

This commit is contained in:
Andrew Hamilton 2026-07-29 08:58:09 +10:00
parent 6ffab2828a
commit ef41f35812
5 changed files with 10 additions and 10 deletions

View file

@ -2,11 +2,11 @@
FROM alpine:3.19.1
RUN apk add gcc sudo python3-dev musl-dev
RUN apk add gcc sudo python3-dev musl-dev git
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/eris
RUN uv tool install --python 3.14 ./eris
RUN eris --install-all-tools
ENTRYPOINT ["eris"]

View file

@ -3,11 +3,11 @@
FROM archlinux:base-20240101.0.204074
RUN pacman -Sy
RUN pacman --noconfirm -S gcc python-devtools
RUN pacman --noconfirm -S gcc python-devtools git
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/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

View file

@ -3,11 +3,11 @@
FROM debian:bookworm
RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y curl git
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/eris
RUN uv tool install --python 3.14 ./eris
RUN chmod a+rwx -R /root
RUN apt-get install -y sudo
RUN eris --install-all-tools

View file

@ -2,11 +2,11 @@
FROM fedora:38
RUN dnf -y install curl
RUN dnf -y install curl git
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/eris
RUN uv tool install --python 3.14 ./eris
RUN chmod a+rwx -R /root
RUN dnf -y install sudo
RUN eris --install-all-tools

View file

@ -3,11 +3,11 @@
FROM ubuntu:lunar
RUN apt-get update
RUN apt-get install -y curl
RUN apt-get install -y curl git
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/eris
RUN uv tool install --python 3.14 ./eris
RUN chmod a+rwx -R /root
RUN apt-get install -y sudo
RUN eris --install-all-tools