Skip to content

Commit 6c2985d

Browse files
authored
Modernizes the OpenIDM Docker images and broadens their multi-architecture build matrix (#193)
1 parent 8e643f4 commit 6c2985d

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ jobs:
319319
file: ./Dockerfile
320320
build-args: |
321321
VERSION=${{ env.release_version }}
322-
platforms: linux/amd64, linux/arm64/8, linux/ppc64le, linux/s390x #, linux/arm/v7
322+
platforms: linux/amd64, linux/arm64/8, linux/ppc64le, linux/s390x, linux/riscv64 #, linux/arm/v7
323323
push: true
324324
tags: ${{ steps.meta.outputs.tags }}
325325
labels: ${{ steps.meta.outputs.labels }}
@@ -328,6 +328,7 @@ jobs:
328328
run: |
329329
docker run --rm -it -d --memory="1g" --name=test localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}
330330
timeout 3m bash -c 'until docker inspect --format="{{json .State.Health.Status}}" test | grep -q \"healthy\"; do sleep 10; done'
331+
docker logs test
331332
build-docker-alpine:
332333
runs-on: 'ubuntu-latest'
333334
services:
@@ -367,7 +368,7 @@ jobs:
367368
file: ./Dockerfile-alpine
368369
build-args: |
369370
VERSION=${{ env.release_version }}
370-
platforms: linux/amd64, linux/arm64/8, linux/s390x, linux/ppc64le
371+
platforms: linux/amd64, linux/arm64/8, linux/s390x, linux/ppc64le, linux/riscv64
371372
push: true
372373
tags: ${{ steps.meta.outputs.tags }}
373374
labels: ${{ steps.meta.outputs.labels }}
@@ -376,3 +377,4 @@ jobs:
376377
run: |
377378
docker run --rm -it -d --memory="1g" --name=test localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}-alpine
378379
timeout 3m bash -c 'until docker inspect --format="{{json .State.Health.Status}}" test | grep -q \"healthy\"; do sleep 10; done'
380+
docker logs test

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
file: ./Dockerfile
170170
build-args: |
171171
VERSION=${{ github.event.inputs.releaseVersion }}
172-
platforms: linux/amd64, linux/arm64/8, linux/ppc64le, linux/s390x #, linux/arm/v7
172+
platforms: linux/amd64, linux/arm64/8, linux/ppc64le, linux/s390x, linux/riscv64 #, linux/arm/v7
173173
push: true
174174
tags: ${{ steps.meta.outputs.tags }}
175175
labels: ${{ steps.meta.outputs.labels }}
@@ -217,7 +217,7 @@ jobs:
217217
file: ./Dockerfile-alpine
218218
build-args: |
219219
VERSION=${{ github.event.inputs.releaseVersion }}
220-
platforms: linux/amd64, linux/arm64/8, linux/s390x, linux/ppc64le
220+
platforms: linux/amd64, linux/arm64/8, linux/s390x, linux/ppc64le, linux/riscv64
221221
push: true
222222
tags: ${{ steps.meta.outputs.tags }}
223223
labels: ${{ steps.meta.outputs.labels }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# information: "Portions copyright [year] [name of copyright owner]".
1212
#
1313
# Copyright 2024-2026 3A Systems, LLC.
14-
FROM eclipse-temurin:25-jre-jammy
14+
FROM eclipse-temurin:25-jre-noble
1515

1616
LABEL org.opencontainers.image.authors="Open Identity Platform Community"
1717

Dockerfile-alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ WORKDIR /opt
2424

2525
#COPY openidm-zip/target/openidm-*.zip ./
2626

27-
RUN apk add --update --no-cache --virtual builddeps curl unzip libc6-compat openjdk17 \
27+
RUN apk add --update --no-cache --virtual builddeps curl unzip libc6-compat openjdk25-jre \
2828
&& apk upgrade --update --no-cache \
2929
&& apk add bash \
3030
&& apk update \

0 commit comments

Comments
 (0)