From a018c97bf7d5cb66cb4fefb96183428a1ce38823 Mon Sep 17 00:00:00 2001 From: Paul Abel <128620221+pdabelf5@users.noreply.github.com> Date: Fri, 15 Mar 2024 09:29:39 +0000 Subject: [PATCH] os patch ubi9 image (#5252) --- build/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/build/Dockerfile b/build/Dockerfile index 331b0a10f6..9a22a16e67 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -260,6 +260,7 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode fi \ ## the code below is duplicated from the ubi-plus image because NAP WAF doesn't support UBI minimal versions && dnf --nodocs install -y shadow-utils ca-certificates \ + && dnf update -y \ && groupadd --system --gid 101 nginx \ && useradd --system --gid nginx --no-create-home --home-dir /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx \ && rpm --import /tmp/nginx_signing.key \