Updated xray code to currently deployed operator (3.18.1)

This commit is contained in:
Aayush-sood94
2021-04-28 23:06:00 +05:30
parent 7e36f5ae63
commit 5f9f197f3d
11 changed files with 29 additions and 597 deletions

View File

@@ -6,6 +6,25 @@ LABEL name="JFrog Xray Enterprise Operator" \
summary="JFrog Xray Enterprise Operator" \
com.jfrog.license_terms="https://jfrog.com/xray/eula/"
# Adding security checks for container vulnerability scan
USER root
RUN microdnf install yum \
&& yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical \
&& yum clean all \
&& microdnf remove yum \
&& microdnf clean all \
&& microdnf install gnutls \
&& microdnf install nettle \
&& microdnf update openssl-libs
RUN microdnf install sudo
RUN sudo -u helm bash
USER helm
COPY licenses/ /licenses
ENV HOME=/opt/helm
COPY watches.yaml ${HOME}/watches.yaml