File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# Keycloak base image version, set with --build-arg="KEYCLOAK_VERSION=..."
4
4
ARG KEYCLOAK_VERSION
5
- ARG TARGETPLATFORM
6
5
7
6
# 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
10
8
ARG DEV_DEPENDENCIES="tar gzip util-linux"
11
9
RUN mkdir -p /mnt/rootfs
12
10
RUN dnf -y update
13
11
RUN dnf install --installroot /mnt/rootfs ${DEV_DEPENDENCIES} --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
14
12
dnf --installroot /mnt/rootfs clean all && \
15
13
rpm --root /mnt/rootfs -e --nodeps setup
16
14
17
- FROM --platform=$TARGETPLATFORM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
15
+ FROM quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
18
16
COPY --from=ubi-micro-build /mnt/rootfs /
19
17
20
18
ENTRYPOINT ["/opt/keycloak/bin/kc.sh" ]
You can’t perform that action at this time.
0 commit comments