diff Dockerfile @ 761:4f9b5500541c

Package versions of Postgres and Postgres-JDBC do not match in jessie.
author Tom Gottfried <tom@intevation.de>
date Tue, 03 Nov 2015 12:06:14 +0100
parents 6a24f01bdaac
children 8cf21cd01287
line wrap: on
line diff
--- a/Dockerfile	Tue Nov 03 09:33:49 2015 +0100
+++ b/Dockerfile	Tue Nov 03 12:06:14 2015 +0100
@@ -19,7 +19,7 @@
 # install packages
 #
 RUN apt-get update -y && \
-    apt-get install -y libpostgresql-jdbc-java libpostgis-java libjts-java \
+    apt-get install -y libpostgis-java libjts-java \
             maven
 
 #
@@ -47,8 +47,10 @@
 # Wildfly setup specific for LADA
 #
 RUN mkdir -p $JBOSS_HOME/modules/org/postgres/main
-RUN ln -s /usr/share/java/postgresql-jdbc4-9.2.jar \
-       $JBOSS_HOME/modules/org/postgres/main/
+
+RUN curl https://jdbc.postgresql.org/download/postgresql-9.4-1204.jdbc41.jar >\
+         $JBOSS_HOME/modules/org/postgres/main/postgresql-9.4-1204.jdbc41.jar
+
 RUN ln -s /usr/share/java/postgis-jdbc-2.1.4.jar \
        $JBOSS_HOME/modules/org/postgres/main/
 RUN ln -s /usr/share/java/jts-1.11.jar \
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)