forked from johnktims/folding-at-home
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (18 loc) · 897 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM debian:stable-slim
LABEL maintainer="[email protected]"
ENV FAH_VERSION_MINOR=7.5.1
ENV FAH_VERSION_MAJOR=7.5
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --no-install-recommends -y \
curl adduser bzip2 ca-certificates &&\
curl -o /tmp/fah.deb https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v${FAH_VERSION_MAJOR}/fahclient_${FAH_VERSION_MINOR}_amd64.deb &&\
mkdir -p /etc/fahclient/ &&\
touch /etc/fahclient/config.xml &&\
dpkg --install /tmp/fah.deb &&\
apt-get remove -y curl &&\
apt-get autoremove -y &&\
rm --recursive --verbose --force /tmp/* /var/log/* /var/lib/apt/
# Web viewer
EXPOSE 7396
ENTRYPOINT ["FAHClient", "--web-allow=0/0:7396", "--allow=0/0:7396"]
CMD ["--user=Anonymous", "--team=0", "--gpu=false", "--smp=true", "--power=full"]