forked from jpetazzo/dind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (21 loc) · 710 Bytes
/
Dockerfile
File metadata and controls
23 lines (21 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM cubox.prod.hulu.com/donki/donki-java:current
# Let's start with some basic stuff.
RUN apt-get update -qq && apt-get install -qqy \
apt-transport-https \
ca-certificates \
curl \
lxc \
iptables
RUN mkdir /etc/docker
ADD ./.dockercfg /root/.dockercfg
RUN chmod 400 /root/.dockercfg
# Install Docker from Docker Inc. repositories.
RUN apt-get install -y docker-engine=1.10.5-0~trusty
# Install the magic wrapper
ADD ./wrapdocker /usr/local/bin/wrapdocker
RUN chmod +x /usr/local/bin/wrapdocker
# Define additional metadata for our image.
VOLUME /var/lib/docker
# Considering /jenkins is your FS root on the mesos slave settings on Jenkins
VOLUME /jenkins/workspace
CMD ["wrapdocker"]