UNCLASSIFIED

Commit db315cab authored by Andy Maksymowicz's avatar Andy Maksymowicz
Browse files

Merge branch 'reducewarnings2' into 'development'

Reducewarnings2

See merge request !17
parents 628e279e 52ef0b54
Pipeline #205168 passed with stages
in 95 minutes and 38 seconds
...@@ -14,9 +14,15 @@ ENV HUB_DEFAULT_PWD=HubSecretPasswd ...@@ -14,9 +14,15 @@ ENV HUB_DEFAULT_PWD=HubSecretPasswd
RUN yum -y update \ RUN yum -y update \
&& yum clean all && yum clean all
#TO fix CCE-80935-0 #TO fix CCE-80935-0
RUN yum -y install crypto-policies #RUN yum -y install crypto-policies
RUN yum -y install gnutls-utils #RUN yum -y install gnutls-utils
# for https://access.redhat.com/security/cve/CVE-2021-23240
RUN rm -rf /usr/libexec/sudo/sesh
ARG CODESONAR_PACKAGE=codesonar-5.4p0.20200911-x86_64-pc-linux.tar.gz ARG CODESONAR_PACKAGE=codesonar-5.4p0.20200911-x86_64-pc-linux.tar.gz
COPY ["${CODESONAR_PACKAGE}", "/opt"] COPY ["${CODESONAR_PACKAGE}", "/opt"]
...@@ -40,6 +46,13 @@ RUN rm -rf /opt/codesonar-5.4p0/third-party/postgresql-9.2 ...@@ -40,6 +46,13 @@ RUN rm -rf /opt/codesonar-5.4p0/third-party/postgresql-9.2
RUN rm -rf /opt/codesonar-5.4p0/third-party/postgresql-9.3 RUN rm -rf /opt/codesonar-5.4p0/third-party/postgresql-9.3
RUN rm -rf /opt/codesonar-5.4p0/third-party/postgresql-9.6 RUN rm -rf /opt/codesonar-5.4p0/third-party/postgresql-9.6
RUN rm -rf /opt/codesonar-5.4p0/third-party/python/inst/lib/python2.7/test/*pem /opt/codesonar-5.4p0/third-party/python/instmt/lib/python2.7/test/*pem
RUN rm -rf /opt/codesonar-5.4p0/third-party/python/inst/lib/python2.7/site-packages/urllib3* /opt/codesonar-5.4p0/third-party/python/instmt/lib/python2.7/site-packages/urllib3*
RUN rm -rf /usr/lib/python3.6/site-packages/urllib3
RUN mkdir /home/codesonar/hub \ RUN mkdir /home/codesonar/hub \
&& chown codesonar.codesonar /home/codesonar/hub && chown codesonar.codesonar /home/codesonar/hub
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment