-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
19 lines (17 loc) · 1.24 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM jpetazzo/dind
MAINTAINER spiddy
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -qq && \
apt-get install -qqy software-properties-common && \
echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections && \
add-apt-repository -y ppa:webupd8team/java && \
apt-get update && \
apt-get install -qqy oracle-java7-installer && \
apt-get clean
RUN apt-get install -y make
RUN wget -q https://github.com/docker/fig/releases/download/1.0.1/fig-Linux-x86_64 -O /usr/local/bin/fig && chmod +x /usr/local/bin/fig
RUN wget -q https://github.com/docker/compose/releases/download/1.3.3/docker-compose-Linux-x86_64 -O /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose
RUN wget -q https://github.com/harbur/captain/releases/download/v0.7.0/captain-Linux-x86_64 -O /usr/local/bin/captain && chmod +x /usr/local/bin/captain
RUN wget -q http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/swarm-client/1.22/swarm-client-1.22-jar-with-dependencies.jar
CMD java -jar swarm-client-1.22-jar-with-dependencies.jar -master http://$MASTER_PORT_8080_TCP_ADDR:$MASTER_PORT_8080_TCP_PORT $EXTRA_PARAMS