forked from bcleonard/boinc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (24 loc) · 867 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
24
25
26
27
28
29
30
31
32
33
34
FROM ubuntu:xenial
LABEL MAINTAINER Kyle ODonnell <kyleo[at]0b10[dot]mx>
#LABEL MAINTAINER Bradley Leonard <[email protected]>
LABEL description="This container will run the boinc-client. I forked this from Bradley Leonard <[email protected]>"
# install boinc
RUN apt-get update && \
apt-get -q install -y boinc-client && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
#EXPOSE 31416
#WORKDIR /var/lib/boinc
#USER boinc
#ENTRYPOINT ["boinc"]
# create directories
RUN mkdir /scripts
# add the startup.sh
ADD startup.sh /scripts/startup.sh
RUN chmod 755 /scripts/startup.sh
# add boinc config file
ADD cc_config.xml /etc/boinc-client/
ADD global_prefs_override.xml /etc/boinc-client/
ENTRYPOINT ["/scripts/startup.sh"]
#CMD ["/scripts/startup.sh"]
#CMD ["/bin/bash"]