changeset 763:8cf21cd01287

Symlinks allow editing module config in place.
author Tom Gottfried <tom@intevation.de>
date Thu, 05 Nov 2015 10:13:01 +0100
parents c415d14acadd
children 9d2070b84238
files Dockerfile
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Dockerfile	Wed Nov 04 13:00:04 2015 +0100
+++ b/Dockerfile	Thu Nov 05 10:13:01 2015 +0100
@@ -55,13 +55,14 @@
        $JBOSS_HOME/modules/org/postgres/main/
 RUN ln -s /usr/share/java/jts-1.11.jar \
        $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/
+
 RUN curl \
     http://www.hibernatespatial.org/repository/org/hibernate/hibernate-spatial/4.3/hibernate-spatial-4.3.jar > \
     $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/hibernate-spatial-4.3.jar
 
-RUN cp wildfly/postgres-module.xml \
+RUN ln -s $PWD/wildfly/postgres-module.xml \
        $JBOSS_HOME/modules/org/postgres/main/module.xml
-RUN cp wildfly/hibernate-module.xml \
+RUN ln -fs $PWD/wildfly/hibernate-module.xml \
        $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/module.xml
 
 RUN wildfly/execute.sh
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)