diff --git a/motech/Dockerfile b/motech/Dockerfile index 0af3420..1b33c07 100644 --- a/motech/Dockerfile +++ b/motech/Dockerfile @@ -8,8 +8,8 @@ RUN \ && unzip /tmp/motech.war -d /srv/tomcat/webapps/ROOT \ # Update Postgres JDBC driver && rm -f /srv/tomcat/webapps/ROOT/WEB-INF/lib/postgresql-9.1-901.jdbc4.jar /srv/tomcat/webapps/ROOT/WEB-INF/bundles/postgresql-9.1-901.jdbc4.jar \ - && wget https://jdbc.postgresql.org/download/postgresql-42.2.2.jar -O /srv/tomcat/webapps/ROOT/WEB-INF/lib/postgresql-42.2.2.jar \ - && cp /srv/tomcat/webapps/ROOT/WEB-INF/lib/postgresql-42.2.2.jar /srv/tomcat/webapps/ROOT/WEB-INF/bundles/postgresql-42.2.2.jar \ + && wget https://jdbc.postgresql.org/download/postgresql-42.2.5.jar -O /srv/tomcat/webapps/ROOT/WEB-INF/lib/postgresql-42.2.5.jar \ + && cp /srv/tomcat/webapps/ROOT/WEB-INF/lib/postgresql-42.2.5.jar /srv/tomcat/webapps/ROOT/WEB-INF/bundles/postgresql-42.2.5.jar \ # Create OS user && addgroup -S -g 8013 motech \ && adduser -S -u 8013 -h /srv/tomcat -s /bin/false -g motech -G motech motech \ diff --git a/sigmah/Dockerfile b/sigmah/Dockerfile index a8dbdd1..18536fb 100644 --- a/sigmah/Dockerfile +++ b/sigmah/Dockerfile @@ -8,7 +8,7 @@ RUN \ && unzip /tmp/sigmah.war -d /srv/tomcat/webapps/sigmah \ # Update Postgres JDBC driver && rm /srv/tomcat/webapps/sigmah/WEB-INF/lib/postgresql-9.1-901-1.jdbc4.jar \ - && wget https://jdbc.postgresql.org/download/postgresql-42.2.2.jar -O /srv/tomcat/webapps/sigmah/WEB-INF/lib/postgresql-42.2.2.jar \ + && wget https://jdbc.postgresql.org/download/postgresql-42.2.5.jar -O /srv/tomcat/webapps/sigmah/WEB-INF/lib/postgresql-42.2.5.jar \ # Remove logging config && rm /srv/tomcat/webapps/sigmah/WEB-INF/classes/logback.xml \ # Create OS user