Docker add jdk17 platforms: linux/amd64, linux/arm64/8, linux/arm/v7, linux/ppc64le, linux/s390x (#267)
| | |
| | | file: ./opendj-packages/opendj-docker/Dockerfile |
| | | build-args: | |
| | | VERSION=${{ env.release_version }} |
| | | platforms: linux/amd64,linux/arm64/8 |
| | | platforms: linux/amd64, linux/arm64/8, linux/arm/v7, linux/ppc64le, linux/s390x |
| | | push: true |
| | | tags: ${{ steps.meta.outputs.tags }} |
| | | labels: ${{ steps.meta.outputs.labels }} |
| | |
| | | file: ./opendj-packages/opendj-docker/Dockerfile |
| | | build-args: | |
| | | VERSION=${{ github.event.inputs.releaseVersion }} |
| | | platforms: linux/amd64,linux/arm64/8 |
| | | platforms: linux/amd64, linux/arm64/8, linux/arm/v7, linux/ppc64le, linux/s390x |
| | | push: true |
| | | tags: ${{ steps.meta.outputs.tags }} |
| | | labels: ${{ steps.meta.outputs.labels }} |
| | |
| | | FROM openjdk:17 |
| | | FROM eclipse-temurin:17-jre-jammy |
| | | |
| | | MAINTAINER Open Identity Platform Community <open-identity-platform-opendj@googlegroups.com> |
| | | |
| | |
| | | |
| | | WORKDIR /opt |
| | | |
| | | RUN microdnf upgrade --nodocs \ |
| | | && microdnf install --nodocs curl unzip findutils \ |
| | | RUN apt-get update \ |
| | | && apt-get install -y --no-install-recommends curl unzip \ |
| | | && curl -L https://github.com/OpenIdentityPlatform/OpenDJ/releases/download/$VERSION/opendj-$VERSION.zip --output opendj-$VERSION.zip \ |
| | | && unzip opendj-$VERSION.zip \ |
| | | && microdnf remove unzip \ |
| | | && microdnf clean all\ |
| | | && apt-get remove -y --purge curl unzip \ |
| | | && rm -rf /var/lib/apt/lists/* \ |
| | | && rm -r opendj-*.zip \ |
| | | && groupadd $OPENDJ_USER \ |
| | | && useradd -m -r -u 1001 -g $OPENDJ_USER $OPENDJ_USER \ |