Skip to content

Commit

Permalink
Update Dockerfile -- curl syntax (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
wschuell authored Dec 4, 2023
1 parent ebeeed4 commit 5abea0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ RUN set -x && \
fc-cache -fv && \
mkdir /drivers_inc && \
cd /drivers_inc && \
curl -JLO https://search.maven.org/remotecontent?filepath=mysql/mysql-connector-java/$MYSQL_VERSION/mysql-connector-java-$MYSQL_VERSION.jar && \
curl -JLO https://search.maven.org/remotecontent?filepath=org/mariadb/jdbc/mariadb-java-client/$MARIADB_VERSION/mariadb-java-client-$MARIADB_VERSION.jar && \
curl -JLO https://search.maven.org/remotecontent?filepath=org/postgresql/postgresql/$POSTGRESQL_VERSION/postgresql-$POSTGRESQL_VERSION.jar && \
curl -JLO https://search.maven.org/remotecontent?filepath=net/sourceforge/jtds/jtds/$JTDS_VERSION/jtds-$JTDS_VERSION.jar && \
curl -JL https://search.maven.org/remotecontent?filepath=mysql/mysql-connector-java/$MYSQL_VERSION/mysql-connector-java-$MYSQL_VERSION.jar --output mysql-connector-java-$MYSQL_VERSION.jar && \
curl -JL https://search.maven.org/remotecontent?filepath=org/mariadb/jdbc/mariadb-java-client/$MARIADB_VERSION/mariadb-java-client-$MARIADB_VERSION.jar --output mariadb-java-client-$MARIADB_VERSION.jar && \
curl -JL https://search.maven.org/remotecontent?filepath=org/postgresql/postgresql/$POSTGRESQL_VERSION/postgresql-$POSTGRESQL_VERSION.jar --output postgresql-$POSTGRESQL_VERSION.jar && \
curl -JL https://search.maven.org/remotecontent?filepath=net/sourceforge/jtds/jtds/$JTDS_VERSION/jtds-$JTDS_VERSION.jar --output jtds-$JTDS_VERSION.jar && \
apk del curl

ADD target/schema*.jar /usr/local/lib/schemaspy/
Expand Down

0 comments on commit 5abea0c

Please sign in to comment.