orbeon-docker/Dockerfile

23 lines
525 B
Docker
Raw Normal View History

2018-02-14 14:06:47 +00:00
FROM tomcat:alpine
2018-02-14 17:21:12 +00:00
ARG tag
ARG build
ARG flavour
2018-02-14 17:21:12 +00:00
2018-02-14 14:06:47 +00:00
RUN \
cd /tmp \
&& mkdir orbeon \
&& cd orbeon \
2018-02-14 17:21:12 +00:00
&& echo "tag: $tag" \
&& echo "build: $build" \
&& wget https://github.com/orbeon/orbeon-forms/releases/download/$tag/$build.zip \
&& unzip $build.zip \
&& cd $build \
2018-02-14 14:06:47 +00:00
&& unzip orbeon.war \
&& mkdir -p /usr/local/orbeon \
&& mv WEB-INF/ /usr/local/orbeon \
2018-02-14 14:06:47 +00:00
&& cd \
&& rm -rf /tmp/orbeon
COPY ./$flavour/tomcat/ /usr/local/tomcat/
COPY ./$flavour/orbeon/ /usr/local/orbeon/