forked from xebialabs-community/xl-docker-demo-xld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
27 lines (20 loc) · 1.1 KB
/
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
FROM ipaustralia/jdk:1.8u152
RUN yum -y install supervisor wget
RUN wget --progress=dot:giga --no-check-certificate -O /tmp/xl-deploy-trial-server.zip https://dist.xebialabs.com/xl-deploy-trial-server.zip && \
mkdir -p /opt/xld && \
unzip /tmp/xl-deploy-trial-server.zip -d /opt/xld && \
mv /opt/xld/xl-deploy-*-server /opt/xld/server && \
rm -rf /tmp/xl-deploy-trial-server.zip
RUN wget --progress=dot:giga --no-check-certificate -O /tmp/xl-deploy-trial-cli.zip https://dist.xebialabs.com/xl-deploy-trial-cli.zip && \
mkdir -p /opt/xld && \
unzip /tmp/xl-deploy-trial-cli.zip -d /opt/xld && \
mv /opt/xld/xl-deploy-*-cli /opt/xld/cli && \
rm -rf /tmp/xl-deploy-trial-cli.zip
COPY resources/deployit.conf /opt/xld/server/conf/deployit.conf
RUN /opt/xld/server/bin/run.sh -setup -reinitialize -force && \
rm -rf /opt/xld/server/log/* /opt/xld/server/tmp/* && \
ln -fs /license/deployit-license.lic /opt/xld/server/conf/deployit-license.lic
COPY resources/supervisord.conf /etc/supervisord.conf
COPY resources/xld.conf /etc/supervisor/conf.d/
CMD ["/usr/bin/supervisord"]
EXPOSE 4516