Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hoskins committed Apr 1, 2024
1 parent 75b4bf4 commit dee6da5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions build/keycloak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ ENV KC_METRICS_ENABLED=true
ENV KC_HEALTH_ENABLED=true
ENV KC_FEATURES=preview
ENV KC_DB=postgres
ENV KC_HTTP_RELATIVE_PATH=/auth

# https://github.com/keycloak/keycloak/discussions/10274
# https://stackoverflow.com/questions/73049385/keycloak18-index-page-resource-not-found
# This no longer works cleanly, neither does passing --http-relative-path=/auth
#ENV KC_HTTP_RELATIVE_PATH=/auth

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

# curl and jq used to parse ecs metadata
RUN dnf update -y && \
dnf install --installroot /mnt/rootfs curl jq --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
dnf --installroot /mnt/rootfs clean all && \
rpm --root /mnt/rootfs -e --nodeps setup
dnf install --installroot /mnt/rootfs curl jq --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
dnf --installroot /mnt/rootfs clean all && \
rpm --root /mnt/rootfs -e --nodeps setup

###################################################################
# Step 3 - Copy optimized build and dependencies into running image
Expand Down

0 comments on commit dee6da5

Please sign in to comment.