• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# EJDB2 testbed docker image
2
3FROM ubuntu:xenial
4
5LABEL maintainer="adamansky@gmail.com"
6
7RUN mkdir /setup
8
9WORKDIR   /setup
10COPY      ./*.sh ./
11RUN       ./setup.sh
12
13VOLUME    /home/worker/.jenkins
14VOLUME    /home/worker/agent
15
16USER root
17COPY jenkins-agent /usr/local/bin/jenkins-agent
18RUN chmod +x /usr/local/bin/jenkins-agent &&\
19    ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
20
21USER worker
22WORKDIR   /home/worker
23
24ENTRYPOINT ["/usr/local/bin/jenkins-agent"]
25
26
27
28
29