Files
dont-stop-folding/Dockerfile
2025-07-18 19:40:51 +02:00

16 lines
611 B
Docker

FROM ghcr.io/linuxserver/baseimage-ubuntu:noble
# Install dependencies and fahclient
RUN apt-get update && apt-get install -y curl gnupg && \
curl -o /tmp/fahclient.deb -L "https://download.foldingathome.org/releases/public/fah-client/debian-10-64bit/release/fah-client_8.4.9_amd64.deb" && \
dpkg -i /tmp/fahclient.deb && apt-get install -f -y && \
rm /tmp/fahclient.deb && apt-get clean
# Add local files
COPY root/ /
# Environment and entrypoint
ENV HOME="/config" \
CLI_ARGS=""
ENTRYPOINT ["/init"]
CMD ["/usr/bin/fahclient", "--config", "/config/config.xml", "${CLI_ARGS}"]