| | |
| | | WORKDIR /opt |
| | | |
| | | RUN microdnf upgrade --nodocs \ |
| | | && microdnf install --nodocs curl unzip \ |
| | | && microdnf install --nodocs curl unzip findutils \ |
| | | && curl -L https://github.com/OpenIdentityPlatform/OpenDJ/releases/download/$VERSION/opendj-$VERSION.zip --output opendj-$VERSION.zip \ |
| | | && unzip opendj-$VERSION.zip \ |
| | | && microdnf remove unzip \ |
| | |
| | | |
| | | HEALTHCHECK --interval=30s --timeout=30s --start-period=1s --retries=3 CMD opendj/bin/ldapsearch --hostname localhost --port 1636 --bindDN "$ROOT_USER_DN" --bindPassword $ROOT_PASSWORD --useSsl --trustAll --baseDN "$BASE_DN" --searchScope base "(objectClass=*)" 1.1 || exit 1 |
| | | |
| | | ENTRYPOINT ["/opt/opendj/run.sh"] |
| | | ENTRYPOINT ["/opt/opendj/run.sh"] |