2025-03-13 02:14:22 -04:00

19 lines
560 B
Docker

# This image is built for AMD ROCM in mind
FROM archlinux
ENV TERM=xterm-256color
# Use LTS because as of 3/12/25 glibc breaks libamdhip64.so
RUN pacman-key --init && \
pacman -Syu --noconfirm && \
pacman -S --noconfirm base linux-lts linux-lts-headers mkinitcpio unzip git curl which
WORKDIR /opt
RUN curl -Lo easy-diffusion.zip https://github.com/easydiffusion/easydiffusion/releases/download/v3.0.9c/Easy-Diffusion-Linux.zip && \
unzip ./easy-diffusion.zip && \
rm ./easy-diffusion.zip
EXPOSE 9000/tcp
ENTRYPOINT [ "/opt/easy-diffusion/start.sh" ]