| | |
| | | |
| | | RUN apk add --update --no-cache --virtual builddeps curl unzip \ |
| | | && apk upgrade --update --no-cache \ |
| | | && apk add bash openjdk8 \ |
| | | && apk add bash openjdk11 \ |
| | | && if [ -z "$VERSION" ] ; then VERSION="$(curl -i -o - --silent https://api.github.com/repos/OpenIdentityPlatform/OpenDJ/releases/latest | grep -m1 "\"name\"" | cut -d\" -f4)"; fi \ |
| | | && curl -L https://github.com/OpenIdentityPlatform/OpenDJ/releases/download/$VERSION/opendj-$VERSION.zip --output opendj-$VERSION.zip \ |
| | | && unzip opendj-$VERSION.zip \ |