Skip to content

Commit dee6da5

Browse files
author
Mike Hoskins
committed
cleanup
1 parent 75b4bf4 commit dee6da5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

build/keycloak/Dockerfile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ ENV KC_METRICS_ENABLED=true
1212
ENV KC_HEALTH_ENABLED=true
1313
ENV KC_FEATURES=preview
1414
ENV KC_DB=postgres
15-
ENV KC_HTTP_RELATIVE_PATH=/auth
15+
16+
# https://github.com/keycloak/keycloak/discussions/10274
17+
# https://stackoverflow.com/questions/73049385/keycloak18-index-page-resource-not-found
18+
# This no longer works cleanly, neither does passing --http-relative-path=/auth
19+
#ENV KC_HTTP_RELATIVE_PATH=/auth
1620

1721
# # Clustering
1822
# (https://gist.github.com/xgp/768eea11f92806b9c83f95902f7f8f80)
@@ -34,9 +38,9 @@ RUN mkdir -p /mnt/rootfs
3438

3539
# curl and jq used to parse ecs metadata
3640
RUN dnf update -y && \
37-
dnf install --installroot /mnt/rootfs curl jq --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
38-
dnf --installroot /mnt/rootfs clean all && \
39-
rpm --root /mnt/rootfs -e --nodeps setup
41+
dnf install --installroot /mnt/rootfs curl jq --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
42+
dnf --installroot /mnt/rootfs clean all && \
43+
rpm --root /mnt/rootfs -e --nodeps setup
4044

4145
###################################################################
4246
# Step 3 - Copy optimized build and dependencies into running image

0 commit comments

Comments
 (0)