Skip to content

Commit

Permalink
Download all JDBC drivers - fixes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed Feb 26, 2024
1 parent ee14661 commit e188551
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,7 @@ RUN install2.r \

# install the jdbc drivers for database access using the OHDSI DatabaseConnector R package
ENV DATABASECONNECTOR_JAR_FOLDER="/opt/hades/jdbc_drivers"
RUN R <<EOF
library(DatabaseConnector);
downloadJdbcDrivers('postgresql');
downloadJdbcDrivers('redshift');
downloadJdbcDrivers('sql server');
downloadJdbcDrivers('oracle');
downloadJdbcDrivers('spark');
EOF
RUN R -e "DatabaseConnector::downloadJdbcDrivers('all');"

# Install Rserve server and client
RUN install2.r \
Expand Down

0 comments on commit e188551

Please sign in to comment.