RUN rm-rf /opt/codesonar-5.4p0/third-party/julia-sarif
RUN rm-rf /opt/codesonar-5.4p0/third-party/julia-tools
# Remove older software versions no longer needed
RUN rm-rf${CODESONAR_HOME}/third-party/postgresql-8.3
RUN rm-rf${CODESONAR_HOME}/third-party/postgresql-8.4
RUN rm-rf${CODESONAR_HOME}/third-party/postgresql-9.0
RUN rm-rf${CODESONAR_HOME}/third-party/postgresql-9.1
RUN rm-rf${CODESONAR_HOME}/third-party/postgresql-9.2
RUN rm-rf${CODESONAR_HOME}/third-party/postgresql-9.3
RUN rm-rf${CODESONAR_HOME}/third-party/postgresql-9.6
RUN rm-rf /opt/codesonar-5.4p0/third-party/pmd
RUN rm-rf /opt/codesonar-5.4p0/third-party/pmd-5.0.4
RUN rm-rf${CODESONAR_HOME}/csonar-eclipse/com.grammatech.codesonar.jar
RUN rm-rf${CODESONAR_HOME}/csonar-eclipse/eclipse_tests/CodeSonarTest_1.0.0.jar
RUN rm-rf${CODESONAR_HOME}/csurf/lib/codesonarj-runtimes/androidAPI23/android-6.0.1_r1.jar
RUN rm-rf /opt/codesonar-5.4p0/third-party/postgresql-8.3
RUN rm-rf /opt/codesonar-5.4p0/third-party/postgresql-8.4
RUN rm-rf /opt/codesonar-5.4p0/third-party/postgresql-9.0
RUN rm-rf /opt/codesonar-5.4p0/third-party/postgresql-9.1
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.6
RUN rm-rf /opt/codesonar-5.4p0/csonar-eclipse/com.grammatech.codesonar.jar
RUN rm-rf /opt/codesonar-5.4p0/csonar-eclipse/eclipse_tests/CodeSonarTest_1.0.0.jar
RUN rm-rf${CODESONAR_HOME}/third-party/python/inst/lib/python3.9/site-packages/urllib3*${CODESONAR_HOME}/third-party/python/instmt/lib/python3.9/site-packages/urllib3*
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