Mercurial > lada > lada-server
changeset 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 | 87cd499122ab |
children | c415d14acadd |
files | Dockerfile wildfly/postgres-module.xml |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
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 \
--- a/wildfly/postgres-module.xml Tue Nov 03 09:33:49 2015 +0100 +++ b/wildfly/postgres-module.xml Tue Nov 03 12:06:14 2015 +0100 @@ -4,7 +4,7 @@ <resources> <resource-root path="postgis-jdbc-2.1.4.jar"/> - <resource-root path="postgresql-jdbc4-9.2.jar"/> + <resource-root path="postgresql-9.4-1204.jdbc41.jar"/> </resources> <dependencies>