From b1e4cb0deff10ffd3dc0366fc155c3fa9fa805e4 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 14 Nov 2022 10:51:07 +0100 Subject: [PATCH 01/32] push to 20.0.1 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd7d332..5bec7d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.16 AS builder -ENV VERSION=19.0.1 -ENV SHA256_SUM=b1e9f89a6d02b9bf43848a970c69d94fb7e75c75fc8ebe2f69a1b7d2e0739733 +ENV VERSION=20.0.1 +ENV SHA256_SUM=0ab04636827d54915f54456a260d37489e6c4df494615cf00c05e96d281a91e6 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From de644cfdc69ca191fef3665ca2ff6ac3e645f28b Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 14 Nov 2022 09:52:51 +0000 Subject: [PATCH 02/32] Delete '.gitlab-ci.yml' --- .gitlab-ci.yml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index a82ce96..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,18 +0,0 @@ -variables: - CONTAINER_NAME: thallian/keycloak - -build: - stage: build - image: - name: gcr.io/kaniko-project/executor:debug - entrypoint: [""] - script: - - mkdir -p /kaniko/.docker - - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json - - >- - /kaniko/executor - --context "$CI_PROJECT_DIR" - --dockerfile "$CI_PROJECT_DIR/Dockerfile" - --destination "$CONTAINER_NAME:$CI_COMMIT_SHA" - --destination "$CONTAINER_NAME:$CI_COMMIT_REF_NAME" - --destination "$CONTAINER_NAME:latest" From c8c1f9a741dc895d3c9f2c7be7c15ea7e8025a7d Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 14 Nov 2022 09:53:32 +0000 Subject: [PATCH 03/32] Add '.woodpecker.yml' --- .woodpecker.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..db169b6 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,11 @@ +pipeline: + publish-docker-image: + image: plugins/kaniko + settings: + repo: docker.io/thallian/keycloak + tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre} + dockerfile: Dockerfile + username: + from_secret: DOCKER_USER + password: + from_secret: DOCKER_PW \ No newline at end of file From 3008df79d69ac850c0ecb9a5639f89970274989c Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 23 Nov 2022 15:11:01 +0100 Subject: [PATCH 04/32] use alpine 3.17 --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bec7d5..1c7b7cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/alpine:3.16 AS builder +FROM docker.io/alpine:3.17 AS builder ENV VERSION=20.0.1 ENV SHA256_SUM=0ab04636827d54915f54456a260d37489e6c4df494615cf00c05e96d281a91e6 @@ -8,7 +8,9 @@ RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir -p /keycloak RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1 -FROM docker.io/thallian/alpine-s6:3.16 +FROM docker.io/thallian/alpine-s6:3.17 + +ENV JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true" RUN addgroup -g 2222 keycloak RUN adduser -h /home/keycloak -u 2222 -D -G keycloak keycloak From 1f97f2f878e8a407852351eccf1b1e8b55ccb9f7 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 19 Dec 2022 10:39:17 +0100 Subject: [PATCH 05/32] push to 20.0.2 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1c7b7cb..9db0636 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.17 AS builder -ENV VERSION=20.0.1 -ENV SHA256_SUM=0ab04636827d54915f54456a260d37489e6c4df494615cf00c05e96d281a91e6 +ENV VERSION=20.0.2 +ENV SHA256_SUM=3d575cca0fdb2ff8f5e73408cc4cd83e1eeac7758c77cbf17cedc9cd925f94fc RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 219bcdf90f215d0add9704a4aeb033fc3e146e73 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 25 Jan 2023 08:46:07 +0100 Subject: [PATCH 06/32] push to 20.0.3 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9db0636..f080e9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.17 AS builder -ENV VERSION=20.0.2 -ENV SHA256_SUM=3d575cca0fdb2ff8f5e73408cc4cd83e1eeac7758c77cbf17cedc9cd925f94fc +ENV VERSION=20.0.3 +ENV SHA256_SUM=31ef88cdb58197a751788a58a9f6ad926dcaf0200a83b78105f33e90690e97cf RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 82ce49ed961dd35bf1d9effac21628ff5975fb01 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 25 Jan 2023 09:04:48 +0100 Subject: [PATCH 07/32] enable strict backchannel --- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 1 + 1 file changed, 1 insertion(+) diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index f20d0da..6ec8d2a 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -8,4 +8,5 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ + --hostname-strict-backchannel=true \ --proxy edge From 43e52f40ee38005ff06df81a1e39404525773867 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 25 Jan 2023 09:11:48 +0100 Subject: [PATCH 08/32] disable strict backchannel --- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index 6ec8d2a..cb5e1ca 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -8,5 +8,5 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ - --hostname-strict-backchannel=true \ + --hostname-strict-backchannel=false \ --proxy edge From 4bc0fe0c12dc0b148d1e247b22b4c6db4dab82df Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 25 Jan 2023 09:26:18 +0100 Subject: [PATCH 09/32] re-enable strict backchannel, problem was with roundcube --- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index cb5e1ca..6ec8d2a 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -8,5 +8,5 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ - --hostname-strict-backchannel=false \ + --hostname-strict-backchannel=true \ --proxy edge From 50fdf77b251a056290dcc4e33f79b3398609bc81 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 8 Apr 2023 12:17:47 +0200 Subject: [PATCH 10/32] update to 21.0.2 --- Dockerfile | 4 ++-- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f080e9a..7942575 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.17 AS builder -ENV VERSION=20.0.3 -ENV SHA256_SUM=31ef88cdb58197a751788a58a9f6ad926dcaf0200a83b78105f33e90690e97cf +ENV VERSION=21.0.2 +ENV SHA256_SUM=bf14c65584630874194226ca43bdb484ddc9b0d6729955fa8addcf0b1b51654c RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index 6ec8d2a..a1ad11e 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -8,5 +8,6 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ - --hostname-strict-backchannel=true \ - --proxy edge + --hostname-strict-backchannel=true \ + --proxy edge \ + --metrics-enabled=true From 989183dbeb7b814834affabca3585bf566603b90 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 8 Apr 2023 12:22:56 +0200 Subject: [PATCH 11/32] enable metrics --- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index a1ad11e..1a18433 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -10,4 +10,4 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --http-enabled true \ --hostname-strict-backchannel=true \ --proxy edge \ - --metrics-enabled=true + --metrics-enabled true From 5b628f8379ae0fae9e89aa3a3d7fa2fe280fd6d3 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 8 Apr 2023 12:25:18 +0200 Subject: [PATCH 12/32] enable metrics --- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index 1a18433..63438e2 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -1,6 +1,7 @@ #!/bin/sh exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ + --metrics-enabled true \ --optimized \ --db-url-host "$DB_HOST" \ --db-url-database "${DB_NAME:-keycloak}" \ @@ -9,5 +10,4 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --hostname "$HOSTNAME" \ --http-enabled true \ --hostname-strict-backchannel=true \ - --proxy edge \ - --metrics-enabled true + --proxy edge From b35171735f9c94097ec3d3c82e65124dc86a2a88 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 8 Apr 2023 12:31:35 +0200 Subject: [PATCH 13/32] build with enabled metrics --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7942575..a4b64b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN apk add --no-cache \ COPY --from=builder --chown=keycloak:keycloak /keycloak /home/keycloak/server -RUN /home/keycloak/server/bin/kc.sh build --db postgres +RUN /home/keycloak/server/bin/kc.sh build --db postgres --metrics-enabled true RUN chown -R keycloak:keycloak /home/keycloak ADD /rootfs / From af863edfa61bb3f38a24dfc8038fb41d75b91861 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 8 Apr 2023 12:33:48 +0200 Subject: [PATCH 14/32] build with enabled metrics --- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index 63438e2..b95d5a2 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -1,7 +1,6 @@ #!/bin/sh exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ - --metrics-enabled true \ --optimized \ --db-url-host "$DB_HOST" \ --db-url-database "${DB_NAME:-keycloak}" \ @@ -9,5 +8,6 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ + --metrics-enabled true \ --hostname-strict-backchannel=true \ --proxy edge From e492e9777d41bbca1335da8e3542e4dff238b2a6 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 8 Apr 2023 12:37:09 +0200 Subject: [PATCH 15/32] build with enabled metrics --- Dockerfile | 2 +- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a4b64b3..8b3144a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN apk add --no-cache \ COPY --from=builder --chown=keycloak:keycloak /keycloak /home/keycloak/server -RUN /home/keycloak/server/bin/kc.sh build --db postgres --metrics-enabled true +RUN /home/keycloak/server/bin/kc.sh build --db=postgres --metrics-enabled=true RUN chown -R keycloak:keycloak /home/keycloak ADD /rootfs / diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index b95d5a2..2b114f7 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -8,6 +8,5 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ - --metrics-enabled true \ --hostname-strict-backchannel=true \ --proxy edge From 7866ffc615613fe3d2b88c501f1576a371c79a24 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 26 Sep 2023 16:29:01 +0200 Subject: [PATCH 16/32] push to 22.0.3 --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b3144a..01b6762 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ -FROM docker.io/alpine:3.17 AS builder +FROM docker.io/alpine:3.18 AS builder -ENV VERSION=21.0.2 -ENV SHA256_SUM=bf14c65584630874194226ca43bdb484ddc9b0d6729955fa8addcf0b1b51654c +ENV VERSION=22.0.3 +ENV SHA256_SUM=fe58029394c164042c5e50e59668eb6d0d9eaa564404522e07ac19f82b1a4d95 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir -p /keycloak RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1 -FROM docker.io/thallian/alpine-s6:3.17 +FROM docker.io/thallian/alpine-s6:3.18-3.1.5.0 ENV JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true" From ea303674e27dd9a0d4e4d1293f4b93da862aab53 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 15 Dec 2023 08:14:43 +0100 Subject: [PATCH 17/32] push to 32.0.2 --- .gitea/workflows/container.yaml | 12 ++++++++++++ .woodpecker.yml | 11 ----------- Dockerfile => Containerfile | 10 +++++----- 3 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 .gitea/workflows/container.yaml delete mode 100644 .woodpecker.yml rename Dockerfile => Containerfile (76%) diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml new file mode 100644 index 0000000..e48b3fd --- /dev/null +++ b/.gitea/workflows/container.yaml @@ -0,0 +1,12 @@ +name: Build Multiarch Container Image +on: [push] +jobs: + call-reusable-workflow: + uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main + with: + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref_name }} + sha: ${{ gitea.sha }} + registry_url: ${{ secrets.REGISTRY_URL }} + registry_user: ${{ secrets.REGISTRY_USER }} + registry_pw: ${{ secrets.REGISTRY_PW }} diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index db169b6..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,11 +0,0 @@ -pipeline: - publish-docker-image: - image: plugins/kaniko - settings: - repo: docker.io/thallian/keycloak - tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre} - dockerfile: Dockerfile - username: - from_secret: DOCKER_USER - password: - from_secret: DOCKER_PW \ No newline at end of file diff --git a/Dockerfile b/Containerfile similarity index 76% rename from Dockerfile rename to Containerfile index 01b6762..b82a40f 100644 --- a/Dockerfile +++ b/Containerfile @@ -1,14 +1,14 @@ -FROM docker.io/alpine:3.18 AS builder +FROM docker.io/alpine:3.19 AS builder -ENV VERSION=22.0.3 -ENV SHA256_SUM=fe58029394c164042c5e50e59668eb6d0d9eaa564404522e07ac19f82b1a4d95 +ENV VERSION=23.0.2 +ENV SHA256_SUM=4711535fb8846d34388ff79e01d83b3fd1b7701c0520bc8cb59739a6bfdab612 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir -p /keycloak RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1 -FROM docker.io/thallian/alpine-s6:3.18-3.1.5.0 +FROM docker.io/thallian/alpine-s6:3.19-3.1.6.2 ENV JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true" @@ -16,7 +16,7 @@ RUN addgroup -g 2222 keycloak RUN adduser -h /home/keycloak -u 2222 -D -G keycloak keycloak RUN apk add --no-cache \ - openjdk17-jre-headless \ + openjdk21-jre-headless \ bash COPY --from=builder --chown=keycloak:keycloak /keycloak /home/keycloak/server From ddb2e0f08f637119f81a5a7b966fd90ae8b8debf Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 12 Jan 2024 19:53:56 +0100 Subject: [PATCH 18/32] push to version 23.0.4 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index b82a40f..ee34e55 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.19 AS builder -ENV VERSION=23.0.2 -ENV SHA256_SUM=4711535fb8846d34388ff79e01d83b3fd1b7701c0520bc8cb59739a6bfdab612 +ENV VERSION=23.0.4 +ENV SHA256_SUM=102a4bee03fb38f0095e003b2590a24bd7a60485a751116a8688501ed630b219 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 81f8710b59a6b41fb3142a0a6fd3785dde986252 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 28 Mar 2024 13:40:04 +0100 Subject: [PATCH 19/32] push to 24.0.2 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index ee34e55..e51e284 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.19 AS builder -ENV VERSION=23.0.4 -ENV SHA256_SUM=102a4bee03fb38f0095e003b2590a24bd7a60485a751116a8688501ed630b219 +ENV VERSION=24.0.2 +ENV SHA256_SUM=8e8f196d8371e4c243b25e48149db242a483fabf2f0a628d31428ead95e52844 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From c3d1229cb2d953f49dd4cf6aebc90243bf8f9fae Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 26 Apr 2024 12:47:59 +0200 Subject: [PATCH 20/32] push to 24.0.3 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index e51e284..cac9959 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.19 AS builder -ENV VERSION=24.0.2 -ENV SHA256_SUM=8e8f196d8371e4c243b25e48149db242a483fabf2f0a628d31428ead95e52844 +ENV VERSION=24.0.3 +ENV SHA256_SUM=48808867075d19bfb12e0dd05438f534fad67969aaad5ed8c130ef21de45ae83 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 86704afa817795df727636f65e0b257dbbdec039 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 27 May 2024 13:07:50 +0200 Subject: [PATCH 21/32] push to 24.0.4 --- Containerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index cac9959..62fe831 100644 --- a/Containerfile +++ b/Containerfile @@ -1,14 +1,14 @@ -FROM docker.io/alpine:3.19 AS builder +FROM docker.io/alpine:3.20 AS builder -ENV VERSION=24.0.3 -ENV SHA256_SUM=48808867075d19bfb12e0dd05438f534fad67969aaad5ed8c130ef21de45ae83 +ENV VERSION=24.0.4 +ENV SHA256_SUM=d6270be7efbdad03f4d9e709436b0915142f717a6b3797a7b6691bdc6c6303f0 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir -p /keycloak RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1 -FROM docker.io/thallian/alpine-s6:3.19-3.1.6.2 +FROM docker.io/thallian/alpine-s6:3.20-3.1.6.2 ENV JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true" From c4c4301808516ab14a628b73dd7f44bac3cf3aaa Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 27 Jun 2024 09:18:15 +0200 Subject: [PATCH 22/32] push to version 25.0.1 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 62fe831..41973f3 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.20 AS builder -ENV VERSION=24.0.4 -ENV SHA256_SUM=d6270be7efbdad03f4d9e709436b0915142f717a6b3797a7b6691bdc6c6303f0 +ENV VERSION=25.0.1 +ENV SHA256_SUM=dc92a309fed7851ad05e515b1655cba5c208a44b2c8c10a453e2094ecf0f277b RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 7071833fabd84f4e68491ab387d5201c2aa80e2a Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 27 Jun 2024 09:32:44 +0200 Subject: [PATCH 23/32] remove deprecated options --- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 1 - 1 file changed, 1 deletion(-) diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index 2b114f7..f20d0da 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -8,5 +8,4 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ - --hostname-strict-backchannel=true \ --proxy edge From 8375b4f62d292b43bb844d3a1550db29331e597e Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sun, 4 Aug 2024 14:13:08 +0200 Subject: [PATCH 24/32] push to 25.0.2 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 41973f3..6bbe204 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.20 AS builder -ENV VERSION=25.0.1 -ENV SHA256_SUM=dc92a309fed7851ad05e515b1655cba5c208a44b2c8c10a453e2094ecf0f277b +ENV VERSION=25.0.2 +ENV SHA256_SUM=c8eb400552174e4b892c4ce9f2114cfee909ef9ebe86f082944b4a0ec47a8825 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 966e0817bc1d0509470a3232290b1673ad60ce01 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 1 Nov 2024 12:13:25 +0100 Subject: [PATCH 25/32] push to 26.0.5 --- Containerfile | 4 ++-- rootfs/etc/s6-overlay/s6-rc.d/keycloak/run | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Containerfile b/Containerfile index 6bbe204..3076fac 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.20 AS builder -ENV VERSION=25.0.2 -ENV SHA256_SUM=c8eb400552174e4b892c4ce9f2114cfee909ef9ebe86f082944b4a0ec47a8825 +ENV VERSION=26.0.5 +ENV SHA256_SUM=f3290d506f895d9e474e04d8d108290f12ee04b51e044289295c79d696838974 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 diff --git a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run index f20d0da..fd9ed0c 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/keycloak/run @@ -8,4 +8,4 @@ exec s6-setuidgid keycloak /home/keycloak/server/bin/kc.sh start \ --db-password "$DB_PASSWORD" \ --hostname "$HOSTNAME" \ --http-enabled true \ - --proxy edge + --proxy-headers xforwarded From 0161721372d05fcbcca6ac5098072ea65a64f26d Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 25 Nov 2024 17:21:08 +0100 Subject: [PATCH 26/32] push to 26.0.6 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 3076fac..44bb97d 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.20 AS builder -ENV VERSION=26.0.5 -ENV SHA256_SUM=f3290d506f895d9e474e04d8d108290f12ee04b51e044289295c79d696838974 +ENV VERSION=26.0.6 +ENV SHA256_SUM=27e31ee7f2e90f1c282def3cbbb0824f76d0441ef7f0c8ebaf83570d097e83b5 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 64c5f8f9bbfb15d5a23d85639233a9d092c9e994 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 10 Jan 2025 13:33:21 +0100 Subject: [PATCH 27/32] push to 26.0.7 --- Containerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index 44bb97d..ccf6d2b 100644 --- a/Containerfile +++ b/Containerfile @@ -1,14 +1,14 @@ -FROM docker.io/alpine:3.20 AS builder +FROM docker.io/alpine:3.21 AS builder -ENV VERSION=26.0.6 -ENV SHA256_SUM=27e31ee7f2e90f1c282def3cbbb0824f76d0441ef7f0c8ebaf83570d097e83b5 +ENV VERSION=26.0.7 +ENV SHA256_SUM=a6d770bbf55625781f1225a54a130839cdc1dd4ad5b3b4bbb18c9ac8bca8f8ae RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 RUN mkdir -p /keycloak RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1 -FROM docker.io/thallian/alpine-s6:3.20-3.1.6.2 +FROM docker.io/thallian/alpine-s6:3.21-3.2.0.2 ENV JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true" From daf2491f457096e6b400dc1cbcc55d205c3bb3cb Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 30 Jan 2025 10:46:24 +0100 Subject: [PATCH 28/32] push to 26.1.0 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index ccf6d2b..e32c0fa 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.21 AS builder -ENV VERSION=26.0.7 -ENV SHA256_SUM=a6d770bbf55625781f1225a54a130839cdc1dd4ad5b3b4bbb18c9ac8bca8f8ae +ENV VERSION=26.1.0 +ENV SHA256_SUM=10df73d2b533c241c799a1fa8e0de731db9229a71c2c06390eb3e87f54de63c7 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 823d2eb8a80d49f491968fed2c24cd4265dc05c0 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 23 Apr 2025 16:14:48 +0200 Subject: [PATCH 29/32] push to 26.2.1 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index e32c0fa..47ed959 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.21 AS builder -ENV VERSION=26.1.0 -ENV SHA256_SUM=10df73d2b533c241c799a1fa8e0de731db9229a71c2c06390eb3e87f54de63c7 +ENV VERSION=26.2.1 +ENV SHA256_SUM=32ab521a9e1288330a4e627d56a81bd14b3168098e7fbb13c4c9af286d8b2ec3 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 82fe047a1c4042a01096458798c557a070909534 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 21 May 2025 13:03:43 +0200 Subject: [PATCH 30/32] push to 26.2.4 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 47ed959..47cb389 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.21 AS builder -ENV VERSION=26.2.1 -ENV SHA256_SUM=32ab521a9e1288330a4e627d56a81bd14b3168098e7fbb13c4c9af286d8b2ec3 +ENV VERSION=26.2.4 +ENV SHA256_SUM=6ef2ae3a339a21c246fdcc5ddea5edcc362eb2f466fb422c5b82072f6dbc55d1 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From 5be603801c7b9ddf9e4f01a6bfc94e3a8d93f76f Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 4 Jun 2025 14:05:23 +0200 Subject: [PATCH 31/32] push to 26.2.5 --- Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 47cb389..45626b7 100644 --- a/Containerfile +++ b/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/alpine:3.21 AS builder -ENV VERSION=26.2.4 -ENV SHA256_SUM=6ef2ae3a339a21c246fdcc5ddea5edcc362eb2f466fb422c5b82072f6dbc55d1 +ENV VERSION=26.2.5 +ENV SHA256_SUM=e99e5f8783ea8f1cc04140b7033ea7291ff9898a088f37399b88651d81238f88 RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz" RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1 From ef20dcda469fc9af9b963078c03942ab36ac47b2 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 4 Jun 2025 14:05:49 +0200 Subject: [PATCH 32/32] setup jenkins --- .gitea/workflows/container.yaml | 12 ------------ Jenkinsfile | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 .gitea/workflows/container.yaml create mode 100644 Jenkinsfile diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml deleted file mode 100644 index e48b3fd..0000000 --- a/.gitea/workflows/container.yaml +++ /dev/null @@ -1,12 +0,0 @@ -name: Build Multiarch Container Image -on: [push] -jobs: - call-reusable-workflow: - uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main - with: - repository: ${{ gitea.repository }} - ref_name: ${{ gitea.ref_name }} - sha: ${{ gitea.sha }} - registry_url: ${{ secrets.REGISTRY_URL }} - registry_user: ${{ secrets.REGISTRY_USER }} - registry_pw: ${{ secrets.REGISTRY_PW }} diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..a8bfde8 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1 @@ +multiarch_container()