Skip to content

Commit db89c8d

Browse files
committed
fix: revert changes to dockerfile
Signed-off-by: Hung-Han (Henry) Chen <[email protected]>
1 parent 743dfca commit db89c8d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@
22

33
# Keycloak base image version, set with --build-arg="KEYCLOAK_VERSION=..."
44
ARG KEYCLOAK_VERSION
5-
ARG TARGETPLATFORM
65

76
# See "Installing additional RPM packages" https://www.keycloak.org/server/containers
8-
FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9 AS ubi-micro-build
9-
7+
FROM registry.access.redhat.com/ubi9 AS ubi-micro-build
108
ARG DEV_DEPENDENCIES="tar gzip util-linux"
119
RUN mkdir -p /mnt/rootfs
1210
RUN dnf -y update
1311
RUN dnf install --installroot /mnt/rootfs ${DEV_DEPENDENCIES} --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
1412
dnf --installroot /mnt/rootfs clean all && \
1513
rpm --root /mnt/rootfs -e --nodeps setup
1614

17-
FROM --platform=$TARGETPLATFORM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
15+
FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
1816
COPY --from=ubi-micro-build /mnt/rootfs /
1917

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

0 commit comments

Comments
 (0)