changeset 976:01ce190079e5

Adapt LADA version in Dockerfile.
author Tom Gottfried <tom@intevation.de>
date Wed, 08 Jun 2016 12:56:37 +0200
parents 5ec11036b4e2
children aba3a5384c69
files Dockerfile
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)