From 11871d42eadf4f82afd292a4ea7eb70024406307 Mon Sep 17 00:00:00 2001 From: "Vazquez,Brais (IT EDP)" Date: Mon, 23 Sep 2024 13:57:20 +0200 Subject: [PATCH] Update OS package by default --- docker-plain/files/docker/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-plain/files/docker/Dockerfile b/docker-plain/files/docker/Dockerfile index 788cfba7..e6e4c5b1 100644 --- a/docker-plain/files/docker/Dockerfile +++ b/docker-plain/files/docker/Dockerfile @@ -1,5 +1,12 @@ FROM registry.access.redhat.com/ubi9/nginx-124 +USER root + +RUN yum -y update && \ + yum clean all + +USER 1001 + RUN echo -n "Hello World" > index.html # Run script uses standard ways to run the application