File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,19 @@ COPY . /app
1616RUN make aro RELEASE=${IS_OFFICIAL_RELEASE} -o generate && make validate-fips && make e2e.test e2etools
1717
1818FROM ${REGISTRY}/ubi9/ubi-minimal
19+ USER root
20+ RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
21+ curl -fsSLo /tmp/packages-microsoft-prod.rpm https://packages.microsoft.com/config/rhel/9.0/packages-microsoft-prod.rpm && \
22+ rpm -Uvh /tmp/packages-microsoft-prod.rpm && \
23+ microdnf install -y azure-cli && \
24+ rm -f /tmp/packages-microsoft-prod.rpm && \
25+ microdnf clean all
26+
1927COPY --from=builder /root/go/bin/gojq /usr/local/bin/jq
2028COPY --from=builder /app/aro /app/e2e.test /app/db /app/cluster /app/portalauth /usr/local/bin/
2129# Setting ENV HOME=/tmp does not change the user’s default home directory of /
2230# This setting is required to keep the existing e2e pipeline working without any code changes
2331COPY --from=builder /app/portalauth /
24- ENTRYPOINT ["aro"]
25- EXPOSE 2222/tcp 8080/tcp 8443/tcp 8444/tcp 8445/tcp
32+
2633USER 1000
2734ENV HOME=/tmp
You can’t perform that action at this time.
0 commit comments