From 7bf78ca97d05b4551f2a502a13bc8f3f5c6330e2 Mon Sep 17 00:00:00 2001
From: Paul Abel
Date: Thu, 14 Mar 2024 17:19:46 +0000
Subject: [PATCH] os patch ubi9 image
---
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 \