From fa612b398b3eaeb7f4a76fde2d181e11f1687dfa Mon Sep 17 00:00:00 2001 From: Samantha Dawley Date: Mon, 6 Nov 2023 12:27:02 -0500 Subject: [PATCH] Add auto-update for rpms in ubi8-minimal for CRW-4977 (#1775) * Add auto-update for rpms in ubi8-minimal for CRW-4977 * Remove -q --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 182476ddb..de5db838a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,6 +52,9 @@ RUN export ARCH="$(uname -m)" && if [[ ${ARCH} == "x86_64" ]]; then export ARCH= # https://registry.access.redhat.com/ubi8-minimal FROM registry.access.redhat.com/ubi8-minimal:8.8-1072 +RUN microdnf -y update && \ + microdnf -y clean all && rm -rf /var/cache/yum + COPY --from=builder /tmp/header-rewrite-traefik-plugin /tmp/header-rewrite-traefik-plugin COPY --from=builder /che-operator/che-operator /manager