diff Dockerfile @ 1234:28a39466e4eb

Enable deserialization of geometries with DBUnit.
author Tom Gottfried <tom@intevation.de>
date Tue, 13 Dec 2016 17:24:06 +0100
parents 61106ead36fc
children 204fb75b0c06
line wrap: on
line diff
--- a/Dockerfile	Tue Dec 13 16:42:41 2016 +0100
+++ b/Dockerfile	Tue Dec 13 17:24:06 2016 +0100
@@ -64,6 +64,9 @@
        $JBOSS_HOME/modules/org/postgres/main/module.xml
 RUN ln -fs $PWD/wildfly/hibernate-module.xml \
        $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/module.xml
+# The jdbcadapters need to know the postgres module to cope with PGeometry
+RUN sed -i '/<\/dependencies>/i         <module name="org.postgres"/>' \
+    $JBOSS_HOME/modules/system/layers/base/org/jboss/ironjacamar/jdbcadapters/main/module.xml
 RUN ln -fs $PWD/wildfly/standalone.conf $JBOSS_HOME/bin/
 
 RUN wildfly/execute.sh
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)