Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ ARG LANG_COUNTRY=US
# Setup useful environment variables
ENV CONF_HOME=/var/atlassian/confluence \
CONF_INSTALL=/opt/atlassian/confluence \
MYSQL_DRIVER_VERSION=5.1.47
MYSQL_DRIVER_VERSION=5.1.47 \
POSTGRESQL_DRIVER_VERSION=42.2.18

# Install Atlassian Confluence
RUN export CONTAINER_USER=confluence && \
Expand Down Expand Up @@ -80,6 +81,10 @@ RUN export CONTAINER_USER=confluence && \
-C /tmp && \
cp /tmp/mysql-connector-java-${MYSQL_DRIVER_VERSION}/mysql-connector-java-${MYSQL_DRIVER_VERSION}-bin.jar \
${CONF_INSTALL}/lib/mysql-connector-java-${MYSQL_DRIVER_VERSION}-bin.jar && \
rm -f \
${CONF_INSTALL}/confluence/WEB-INF/lib/postgresql-*.jar && \
wget -O ${CONF_INSTALL}/confluence/WEB-INF/lib/postgresql-${POSTGRESQL_DRIVER_VERSION}.jar \
https://jdbc.postgresql.org/download/postgresql-${POSTGRESQL_DRIVER_VERSION}.jar && \
chown -R confluence:confluence ${CONF_INSTALL} && \
# Adding letsencrypt-ca to truststore
export KEYSTORE=$JAVA_HOME/lib/security/cacerts && \
Expand Down