File tree Expand file tree Collapse file tree
opendj-packages/opendj-docker Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM openjdk:11
1+ FROM openjdk:17
22
33MAINTAINER Open Identity Platform Community <open-identity-platform-opendj@googlegroups.com>
44
@@ -13,18 +13,19 @@ ENV ADD_BASE_ENTRY="--addBaseEntry" \
1313 OPENDJ_SSL_OPTIONS=${SSL_OPTIONS:-"--generateSelfSignedCertificate" } \
1414 MASTER_SERVER=${MASTER_SERVER} \
1515 OPENDJ_REPLICATION_TYPE=${OPENDJ_REPLICATION_TYPE} \
16- OPENDJ_USER="opendj"
17-
16+ OPENDJ_USER="opendj" \
17+ OPENDJ_JAVA_ARGS=""
18+
1819ARG VERSION=@project_version@
1920
2021WORKDIR /opt
2122
22- RUN apt-get update \
23- && apt-get install -y --no-install-recommends curl unzip \
23+ RUN microdnf upgrade --nodocs \
24+ && microdnf install --nodocs curl unzip \
2425 && curl -L https://github.com/OpenIdentityPlatform/OpenDJ/releases/download/$VERSION/opendj-$VERSION.zip --output opendj-$VERSION.zip \
2526 && unzip opendj-$VERSION.zip \
26- && apt-get remove -y --purge curl unzip \
27- && rm -rf /var/lib/apt/lists/* \
27+ && microdnf remove unzip \
28+ && microdnf clean all \
2829 && rm -r opendj-*.zip \
2930 && groupadd $OPENDJ_USER \
3031 && useradd -m -r -u 1001 -g $OPENDJ_USER $OPENDJ_USER \
You can’t perform that action at this time.
0 commit comments