forked from ozzyjohnson/docker-boinc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
37 lines (28 loc) · 833 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
35
36
37
## File to build docker image for Boinc
#
# Forked from ozzyjohnson/boinc with original MAINTAINER Ozzy Johnson <[email protected]>
# I'd advise pulling from that repo for most up to date version for this.
# I'm using and forking this over mainly as an example for kubernetes.
FROM debian:wheezy
MAINTAINER Chris Klebna <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
# Versions.
ENV BOINC_CLIENT 7.0.27+dfsg-5
# Update and install minimal.
RUN \
apt-get update \
--quiet \
&& apt-get install \
--yes \
--no-install-recommends \
--no-install-suggests \
boinc-client=${BOINC_CLIENT} \
# Clean up packages.
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Data volume.
ONBUILD VOLUME /data
# Getting ready.
WORKDIR /data
# Default command.
ENTRYPOINT ["/usr/bin/boinc"]