From db89c8d74ccf6340faa066a80b4d500b5d395f82 Mon Sep 17 00:00:00 2001 From: "Hung-Han (Henry) Chen" Date: Mon, 23 Dec 2024 12:21:51 +0200 Subject: [PATCH] fix: revert changes to dockerfile Signed-off-by: Hung-Han (Henry) Chen --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 36dae7d..13015fb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,9 @@ # Keycloak base image version, set with --build-arg="KEYCLOAK_VERSION=..." ARG KEYCLOAK_VERSION -ARG TARGETPLATFORM # See "Installing additional RPM packages" https://www.keycloak.org/server/containers -FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9 AS ubi-micro-build - +FROM registry.access.redhat.com/ubi9 AS ubi-micro-build ARG DEV_DEPENDENCIES="tar gzip util-linux" RUN mkdir -p /mnt/rootfs RUN dnf -y update @@ -14,7 +12,7 @@ RUN dnf install --installroot /mnt/rootfs ${DEV_DEPENDENCIES} --releasever 9 --s dnf --installroot /mnt/rootfs clean all && \ rpm --root /mnt/rootfs -e --nodeps setup -FROM --platform=$TARGETPLATFORM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} +FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION} COPY --from=ubi-micro-build /mnt/rootfs / ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]