Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Derby version set to 10.14.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
az82 committed May 15, 2018
1 parent d0900ed commit 0bad311
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM openjdk:8-jre-alpine
MAINTAINER Andreas Zitzelsberger "az@az82.de"

ENV DERBY_VERSION=10.14.2.0
ENV DERBY_HOME=/derby
ENV DERBY_LIB=${DERBY_HOME}/lib
ENV CLASSPATH=${DERBY_LIB}/derby.jar:${DERBY_LIB}/derbynet.jar:${DERBY_LIB}/derbytools.jar:${DERBY_LIB}/derbyoptionaltools.jar:${DERBY_LIB}/derbyclient.jar

RUN \
apk add --update openssl && \
wget https://dist.apache.org/repos/dist/release/db/derby/db-derby-10.14.1.0/db-derby-10.14.1.0-bin.tar.gz && \
tar xzf /db-derby-10.14.1.0-bin.tar.gz && \
mv /db-derby-10.14.1.0-bin /derby && \
wget https://dist.apache.org/repos/dist/release/db/derby/db-derby-${DERBY_VERSION}/db-derby-${DERBY_VERSION}-bin.tar.gz && \
tar xzf /db-derby-${DERBY_VERSION}-bin.tar.gz && \
mv /db-derby-${DERBY_VERSION}-bin /derby && \
rm -Rf /*.tar.gz ${DERBY_HOME}/demo ${DERBY_HOME}/javadoc ${DERBY_HOME}/docs ${DERBY_HOME}/test ${DERBY_HOME}/*.html ${DERBY_HOME}/KEYS && \
apk del openssl

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository provides a Docker image for Apache Derby using the OpenJDK JRE a
You can find the built images at https://hub.docker.com/r/az82/docker-derby/.

## Software Versions
* Derby: 10.14.1.0 (http://db.apache.org/derby/index.html)
* Derby: 10.14.2.0 (http://db.apache.org/derby/index.html)
* Base Image: Latest OpenJDK 8 JRE image (https://github.com/docker-library/openjdk)

## Image Properties
Expand Down

0 comments on commit 0bad311

Please sign in to comment.