Mercurial > lada > lada-server
comparison 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 |
comparison
equal
deleted
inserted
replaced
760:87cd499122ab | 761:4f9b5500541c |
---|---|
17 | 17 |
18 # | 18 # |
19 # install packages | 19 # install packages |
20 # | 20 # |
21 RUN apt-get update -y && \ | 21 RUN apt-get update -y && \ |
22 apt-get install -y libpostgresql-jdbc-java libpostgis-java libjts-java \ | 22 apt-get install -y libpostgis-java libjts-java \ |
23 maven | 23 maven |
24 | 24 |
25 # | 25 # |
26 # Set up Wildfly | 26 # Set up Wildfly |
27 # | 27 # |
45 | 45 |
46 # | 46 # |
47 # Wildfly setup specific for LADA | 47 # Wildfly setup specific for LADA |
48 # | 48 # |
49 RUN mkdir -p $JBOSS_HOME/modules/org/postgres/main | 49 RUN mkdir -p $JBOSS_HOME/modules/org/postgres/main |
50 RUN ln -s /usr/share/java/postgresql-jdbc4-9.2.jar \ | 50 |
51 $JBOSS_HOME/modules/org/postgres/main/ | 51 RUN curl https://jdbc.postgresql.org/download/postgresql-9.4-1204.jdbc41.jar >\ |
52 $JBOSS_HOME/modules/org/postgres/main/postgresql-9.4-1204.jdbc41.jar | |
53 | |
52 RUN ln -s /usr/share/java/postgis-jdbc-2.1.4.jar \ | 54 RUN ln -s /usr/share/java/postgis-jdbc-2.1.4.jar \ |
53 $JBOSS_HOME/modules/org/postgres/main/ | 55 $JBOSS_HOME/modules/org/postgres/main/ |
54 RUN ln -s /usr/share/java/jts-1.11.jar \ | 56 RUN ln -s /usr/share/java/jts-1.11.jar \ |
55 $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/ | 57 $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/ |
56 RUN curl \ | 58 RUN curl \ |