mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

vharseko
08.57.2022 d967673e1af894245300dc734496caf0a74701d4
Docker add jdk17 platforms: linux/amd64, linux/arm64/8, linux/arm/v7, linux/ppc64le, linux/s390x (#267)

3 files modified
14 ■■■■ changed files
.github/workflows/build.yml 2 ●●● patch | view | raw | blame | history
.github/workflows/release.yml 2 ●●● patch | view | raw | blame | history
opendj-packages/opendj-docker/Dockerfile 10 ●●●● patch | view | raw | blame | history
.github/workflows/build.yml
@@ -123,7 +123,7 @@
          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 }}
.github/workflows/release.yml
@@ -165,7 +165,7 @@
          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 }}
opendj-packages/opendj-docker/Dockerfile
@@ -1,4 +1,4 @@
FROM openjdk:17
FROM eclipse-temurin:17-jre-jammy
MAINTAINER Open Identity Platform Community <open-identity-platform-opendj@googlegroups.com>
@@ -20,12 +20,12 @@
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 \