From 665ec6516b0e5c7f20c21009f5bebd8bb389a812 Mon Sep 17 00:00:00 2001 From: Simple Date: Wed, 25 Dec 2024 13:06:36 +0100 Subject: [PATCH] fix: reorder startup script copy and package installation in Containerfile --- Containerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Containerfile b/Containerfile index 710e955..f31e34f 100644 --- a/Containerfile +++ b/Containerfile @@ -3,14 +3,14 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:daa61d6103e98bccf40d7a69 # Add repositories COPY zscaler.repo /etc/yum.repos.d/ -# Add startup script -COPY start.sh /start.sh - # Install packages and enable services RUN microdnf -y install --disableplugin=subscription-manager \ - zpa-connector \ - procps-ng && \ - microdnf clean all && \ - chmod +x /start.sh +zpa-connector \ +procps-ng && \ +microdnf clean all && \ +chmod +x /start.sh + +# Add startup script +COPY start.sh /start.sh CMD [ "/start.sh" ]