Skip to content

Commit

Permalink
fix: reorder startup script copy and package installation in Containe…
Browse files Browse the repository at this point in the history
…rfile
  • Loading branch information
truestory1 committed Dec 25, 2024
1 parent 9871243 commit 665ec65
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit 665ec65

Please sign in to comment.