Skip to content

Commit

Permalink
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ FROM nvidia/opencl:runtime-ubuntu18.04

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get -y update
RUN apt-get -y install ocl-icd-opencl-dev
RUN apt-get update && \
apt-get install -y --no-install-recommends ocl-icd-opencl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

ADD https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.5/fahclient_7.5.1_amd64.deb /tmp
RUN dpkg -i /tmp/fahclient_7.5.1_amd64.deb || exit 0
RUN rm /tmp/fahclient_7.5.1_amd64.deb
RUN dpkg -i /tmp/fahclient_7.5.1_amd64.deb || exit 0 && \
rm /tmp/fahclient_7.5.1_amd64.deb

WORKDIR /root
VOLUME /root

CMD FAHClient --user=CERN --team=38188 --gpu=true --smp=true
CMD ["FAHClient", "--user=CERN", "--team=38188", "--gpu=true", "--smp=true"]

0 comments on commit dc751d2

Please sign in to comment.