From ce99169457f5e452da0eeaa5bcb3522e3c4c5fe4 Mon Sep 17 00:00:00 2001 From: phanikumar Date: Thu, 12 Sep 2024 19:10:15 +0530 Subject: [PATCH] Update Dockerfile-fips OC test image --- docker/ubi8/Dockerfile-fips | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/ubi8/Dockerfile-fips b/docker/ubi8/Dockerfile-fips index 2f30a43ab..772f29da6 100644 --- a/docker/ubi8/Dockerfile-fips +++ b/docker/ubi8/Dockerfile-fips @@ -58,12 +58,13 @@ RUN curl -f -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3-us-we chmod +x /usr/local/bin/aws-iam-authenticator ## FOR OC binaries +RUN yum update glibc RUN wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz RUN tar -xzf openshift-client-linux.tar.gz RUN rm -f openshift-client-linux.tar.gz RUN mv oc /usr/local/bin/ -RUN adduser spinnaker -USER spinnaker +RUN adduser spinnaker root +USER root CMD ["/opt/halyard/bin/halyard"]