From 8aeceee99177ee01988be7ac94e779567d001287 Mon Sep 17 00:00:00 2001 From: Samantha Dawley Date: Mon, 6 Nov 2023 12:27:24 -0500 Subject: [PATCH] Update rpms from ubi8-minimal (#270) (#271) * Update rpms from ubi8-minimal CRW-4977, some rpms are out of date * Remove -q --- build/dockerfiles/rhel.Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/dockerfiles/rhel.Dockerfile b/build/dockerfiles/rhel.Dockerfile index d2816587..f06dedf8 100644 --- a/build/dockerfiles/rhel.Dockerfile +++ b/build/dockerfiles/rhel.Dockerfile @@ -29,7 +29,10 @@ RUN adduser unprivilegeduser && \ # https://registry.access.redhat.com/ubi8-minimal FROM registry.access.redhat.com/ubi8-minimal:8.8-1072 as runtime COPY --from=builder /rootfs / -RUN microdnf install -y openssl; microdnf clean -y all +RUN microdnf install -y openssl && \ + microdnf -y update && \ + microdnf clean -y all + USER unprivilegeduser ENTRYPOINT ["/go/bin/che-machine-exec"]