[Lada-commits] [PATCH] Adapt LADA version in Dockerfile
Wald Commits
scm-commit at wald.intevation.org
Wed Jun 8 12:56:41 CEST 2016
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1465383397 -7200
# Node ID 01ce190079e5cbe25c620dcd2743e7da228994e2
# Parent 5ec11036b4e26510890333b3e0c7a2484320be1a
Adapt LADA version in Dockerfile.
diff -r 5ec11036b4e2 -r 01ce190079e5 Dockerfile
--- a/Dockerfile Wed Jun 08 12:16:40 2016 +0200
+++ b/Dockerfile Wed Jun 08 12:56:37 2016 +0200
@@ -9,7 +9,7 @@
# The linked container may be created from db_schema/Dockerfile.
#
# The LADA-server will be available under
-# http://yourdockerhost:8181/lada-server-2.2.0
+# http://yourdockerhost:8181/lada-server-$LADA_VERSION
#
FROM java:7-jdk
@@ -73,9 +73,10 @@
#
# Build and deploy LADA-server
#
+ENV LADA_VERSION 2.3.0
RUN mvn clean compile package javadoc:javadoc
-RUN mv target/lada-server-2.2.0.war $JBOSS_HOME/standalone/deployments
-RUN touch $JBOSS_HOME/standalone/deployments/lada-server-2.2.0.war.dodeploy
+RUN mv target/lada-server-$LADA_VERSION.war $JBOSS_HOME/standalone/deployments
+RUN touch $JBOSS_HOME/standalone/deployments/lada-server-$LADA_VERSION.war.dodeploy
##configure lighttpd for apidoc
RUN sed -i 's|server.document-root = "/var/www/html"|server.document-root = "/usr/src/lada-server/target/site/apidocs"|' /etc/lighttpd/lighttpd.conf
More information about the Lada-commits
mailing list