forked from waterscar/docker-soapui
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (22 loc) · 756 Bytes
/
Dockerfile
File metadata and controls
29 lines (22 loc) · 756 Bytes
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
FROM centos:7
FROM python:2.7
FROM java:openjdk-8-jdk
MAINTAINER Daniel Davison <sircapsalot@gmail.com>
# Version
ENV SOAPUI_VERSION 5.6.0
COPY entry_point.sh /opt/bin/entry_point.sh
COPY server.py /opt/bin/server.py
COPY server_index.html /opt/bin/server_index.html
RUN chmod +x /opt/bin/entry_point.sh
RUN chmod +x /opt/bin/server.py
# Download and unarchive SoapUI
RUN mkdir -p /opt &&\
curl https://s3.amazonaws.com/downloads.eviware/soapuios/${SOAPUI_VERSION}/SoapUI-${SOAPUI_VERSION}-linux-bin.tar.gz \
| gunzip -c - | tar -xf - -C /opt && \
ln -s /opt/SoapUI-${SOAPUI_VERSION} /opt/SoapUI
# Set working directory
WORKDIR /opt/bin
# Set environment
ENV PATH ${PATH}:/opt/SoapUI/bin
EXPOSE 3000
CMD ["/opt/bin/entry_point.sh"]