[Lada-commits] [PATCH 2 of 2] Separate build/deploy and javadoc
Wald Commits
scm-commit at wald.intevation.org
Thu Dec 1 16:36:37 CET 2016
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1480606564 -3600
# Node ID 61106ead36fc2b789b2858ce191bf97fa6ecc270
# Parent 530a33fffa28b0ab7341ed51d0b235350a81d5ac
Separate build/deploy and javadoc.
diff -r 530a33fffa28 -r 61106ead36fc Dockerfile
--- a/Dockerfile Thu Dec 01 16:34:23 2016 +0100
+++ b/Dockerfile Thu Dec 01 16:36:04 2016 +0100
@@ -74,11 +74,13 @@
# Build and deploy LADA-server
#
ENV LADA_VERSION 2.4.1-SNAPSHOT
-RUN mvn clean compile package javadoc:javadoc
-RUN mv target/lada-server-$LADA_VERSION.war $JBOSS_HOME/standalone/deployments
-RUN touch $JBOSS_HOME/standalone/deployments/lada-server-$LADA_VERSION.war.dodeploy
+RUN mvn clean compile package && \
+ mv target/lada-server-$LADA_VERSION.war \
+ $JBOSS_HOME/standalone/deployments && \
+ touch $JBOSS_HOME/standalone/deployments/lada-server-$LADA_VERSION.war.dodeploy
##configure lighttpd for apidoc
+RUN mvn javadoc:javadoc
RUN sed -i 's|server.document-root = "/var/www/html"|server.document-root = "/usr/src/lada-server/target/site/apidocs"|' /etc/lighttpd/lighttpd.conf
## Start the webserver manually, when the container is started
More information about the Lada-commits
mailing list