Skip to content

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Dockerfile

+7-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ FROM nvidia/opencl:runtime-ubuntu18.04
22

33
ENV DEBIAN_FRONTEND noninteractive
44

5-
RUN apt-get -y update
6-
RUN apt-get -y install ocl-icd-opencl-dev
5+
RUN apt-get update && \
6+
apt-get install -y --no-install-recommends ocl-icd-opencl-dev && \
7+
apt-get clean && \
8+
rm -rf /var/lib/apt/lists/*
79

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

1214
WORKDIR /root
1315
VOLUME /root
1416

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

0 commit comments

Comments
 (0)