Skip to content

Commit

Permalink
Merge branch 'main' into bump_to_v.4.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
r2-lf authored Apr 28, 2021
2 parents 66b7eed + 505abcc commit 554bb5c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM openjdk:11-jre-slim-buster

# Install GNUPG for package vefification and WGET for file download
RUN apt-get update \
&& apt-get -yqq install krb5-user libpam-krb5 \
&& apt-get -y install gnupg wget \
&& rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -88,6 +89,12 @@ RUN wget --no-verbose -O /liquibase/lib/sqlite.jar https://repo1.maven.org/maven
&& gpg --auto-key-locate keyserver --keyserver ha.pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify /liquibase/lib/sqlite.jar.asc /liquibase/lib/sqlite.jar \
&& echo "$SQLITE_SHA1 /liquibase/lib/sqlite.jar" | sha1sum -c -

ARG ORACLE_SHA1=967c0b1a2d5b1435324de34a9b8018d294f8f47b
RUN wget --no-verbose -O /liquibase/lib/ojdbc8.jar https://repo1.maven.org/maven2/com/oracle/ojdbc/ojdbc8/19.3.0.0/ojdbc8-19.3.0.0.jar \
&& wget --no-verbose -O /liquibase/lib/ojdbc8.jar.asc https://repo1.maven.org/maven2/com/oracle/ojdbc/ojdbc8/19.3.0.0/ojdbc8-19.3.0.0.jar.asc \
&& gpg --auto-key-locate keyserver --keyserver ha.pool.sks-keyservers.net --keyserver-options auto-key-retrieve --verify /liquibase/lib/ojdbc8.jar.asc /liquibase/lib/ojdbc8.jar \
&& echo "$ORACLE_SHA1 /liquibase/lib/ojdbc8.jar" | sha1sum -c -

# No key published to Maven Central, using SHA256SUM
ARG MYSQL_SHA256=f93c6d717fff1bdc8941f0feba66ac13692e58dc382ca4b543cabbdb150d8bf7
RUN wget --no-verbose -O /liquibase/lib/mysql.jar https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.19/mysql-connector-java-8.0.19.jar \
Expand All @@ -100,4 +107,4 @@ VOLUME /liquibase/classpath
VOLUME /liquibase/changelog

ENTRYPOINT ["/liquibase/docker-entrypoint.sh"]
CMD ["--help"]
CMD ["--help"]

0 comments on commit 554bb5c

Please sign in to comment.