diff Dockerfile @ 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 4f9b5500541c
children 625c8ae7fc30
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)