mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 00:06:55 -06:00
updated the image vulnerabilities checks for passing the redhat certification
This commit is contained in:
@@ -7,6 +7,25 @@ LABEL name="JFrog Artifactory Enterprise Operator" \
|
|||||||
summary="JFrog Artifactory Enterprise Operator" \
|
summary="JFrog Artifactory Enterprise Operator" \
|
||||||
com.jfrog.license_terms="https://jfrog.com/artifactory/eula/"
|
com.jfrog.license_terms="https://jfrog.com/artifactory/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
|
COPY licenses/ /licenses
|
||||||
ENV HOME=/opt/helm
|
ENV HOME=/opt/helm
|
||||||
COPY watches.yaml ${HOME}/watches.yaml
|
COPY watches.yaml ${HOME}/watches.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user