[Lada-commits] [PATCH] Symlinks allow editing module config in place
Wald Commits
scm-commit at wald.intevation.org
Thu Nov 5 10:13:22 CET 2015
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1446714781 -3600
# Node ID 8cf21cd01287ee18eb044154f5b59765903dbe9b
# Parent c415d14acadd5bc46811717cdacf6f3d11c2e986
Symlinks allow editing module config in place.
diff -r c415d14acadd -r 8cf21cd01287 Dockerfile
--- 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
More information about the Lada-commits
mailing list