orbeon-docker/Dockerfile

20 lines
494 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
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 \
&& rm -rf /usr/local/tomcat/webapps \
&& mkdir -p /usr/local/tomcat/webapps/ROOT \
&& mv WEB-INF/ /usr/local/tomcat/webapps/ROOT \
&& cd \
&& rm -rf /tmp/orbeon