Bump PostgreSQL JDBC driver to 42.2.2
This commit is contained in:
parent
4fdff55d0e
commit
19ec74de4d
@ -8,8 +8,8 @@ RUN \
|
||||
&& unzip /tmp/motech.war -d /srv/tomcat/webapps/motech \
|
||||
# Update Postgres JDBC driver
|
||||
&& rm -f /srv/tomcat/webapps/motech/WEB-INF/lib/postgresql-9.1-901.jdbc4.jar /srv/tomcat/webapps/motech/WEB-INF/bundles/postgresql-9.1-901.jdbc4.jar \
|
||||
&& wget https://jdbc.postgresql.org/download/postgresql-42.2.0.jar -O /srv/tomcat/webapps/motech/WEB-INF/lib/postgresql-42.2.0.jar \
|
||||
&& cp /srv/tomcat/webapps/motech/WEB-INF/lib/postgresql-42.2.0.jar /srv/tomcat/webapps/motech/WEB-INF/bundles/postgresql-42.2.0.jar \
|
||||
&& wget https://jdbc.postgresql.org/download/postgresql-42.2.2.jar -O /srv/tomcat/webapps/motech/WEB-INF/lib/postgresql-42.2.2.jar \
|
||||
&& cp /srv/tomcat/webapps/motech/WEB-INF/lib/postgresql-42.2.2.jar /srv/tomcat/webapps/motech/WEB-INF/bundles/postgresql-42.2.2.jar \
|
||||
# Create OS user
|
||||
&& addgroup -S -g 8013 motech \
|
||||
&& adduser -S -u 8013 -h /srv/tomcat -s /bin/false -g motech -G motech motech \
|
||||
|
@ -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.0.jar -O /srv/tomcat/webapps/sigmah/WEB-INF/lib/postgresql-42.2.0.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 \
|
||||
# Remove logging config
|
||||
&& rm /srv/tomcat/webapps/sigmah/WEB-INF/classes/logback.xml \
|
||||
# Create OS user
|
||||
|
Loading…
Reference in New Issue
Block a user