From 96c567c87742f96239de0531ce2a33a473cafcc5 Mon Sep 17 00:00:00 2001 From: Kevin Frommelt Date: Tue, 29 Oct 2024 16:54:46 -0500 Subject: [PATCH] [#1044] Update packages with microdnf --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e8a87a05..046a1031 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,6 +61,9 @@ COPY --from=builder /opt/app-root/src/entrypoint/entrypoint ${USER_HOME}/bin/ent # Set operator bin owner and permissions RUN chown -R `id -u`:0 ${USER_HOME}/bin && chmod -R 755 ${USER_HOME}/bin +# Upgrade packages +RUN microdnf update -y --setopt=install_weak_deps=0 + USER ${USER_UID} ENTRYPOINT ["${USER_HOME}/bin/entrypoint"]