Skip to content

Commit

Permalink
Update Dockerfile to download H2 JDBC Driver (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjndw authored Jan 29, 2024
1 parent b0ab98a commit 3f33de7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bamboo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ RUN groupadd --gid ${RUN_GID} ${RUN_GROUP} \
&& sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${BAMBOO_INSTALL_DIR}/bin/setenv.sh \
&& sed -i -e 's/^JAVA_OPTS="/JAVA_OPTS="${JAVA_OPTS} /g' ${BAMBOO_INSTALL_DIR}/bin/setenv.sh

# Since Bamboo 9.4.2 the JDBC H2 Driver is not included anymore
ARG H2_VERSION=2.2.224
ARG DOWNLOAD_H2_URL=https://search.maven.org/remotecontent?filepath=com/h2database/h2/${H2_VERSION}/h2-${H2_VERSION}.jar
RUN curl -L --silent ${DOWNLOAD_H2_URL} -o ${BAMBOO_INSTALL_DIR}/lib/h2-${H2_VERSION}.jar

RUN git clone https://bitbucket.org/atlassian-docker/docker-bamboo-server/src/master/ ./git-repo
RUN git clone https://bitbucket.org/atlassian-docker/docker-shared-components.git ./shared-components
Expand Down

0 comments on commit 3f33de7

Please sign in to comment.