16 lines
612 B
Docker
16 lines
612 B
Docker
FROM lscr.io/linuxserver/unraid-baseimage:debian
|
|
|
|
# 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}"] |