Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhunghan authored Nov 6, 2023
1 parent b9fde14 commit 4079d15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ RUN dnf install --installroot /mnt/rootfs ${DEV_DEPENDECIES} --releasever 9 --se

FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
COPY --from=ubi-micro-build /mnt/rootfs /
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]

# use root user https://github.com/keycloak/keycloak/blob/main/quarkus/container/Dockerfile#L28
USER 0

ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]

0 comments on commit 4079d15

Please sign in to comment.