keycloak customizing dockerfile with say curl, openjdk and jq command

 Use the following dockerfile and the run "docker build . -t kclocal"

FROM registry.access.redhat.com/ubi9 AS ubi-micro-build
RUN mkdir -p /mnt/rootfs
RUN dnf install --installroot /mnt/rootfs curl java-11-openjdk-devel jq --releasever 9 --setopt install_weak_deps=false --nodocs -y && \
    dnf --installroot /mnt/rootfs clean all && \
    rpm --root /mnt/rootfs -e --nodeps setup

FROM quay.io/keycloak/keycloak:17.0.1
COPY --from=ubi-micro-build /mnt/rootfs /

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm