UNCLASSIFIED

Commit 8fa57218 authored by Mark Hermeling's avatar Mark Hermeling
Browse files

Remove PostgreSQL as this is a hub less install.

parent 6cd7bee4
Pipeline #434742 failed with stages
in 12 minutes and 50 seconds
......@@ -30,14 +30,21 @@ RUN rm -rf /opt/${CODESONAR_PACKAGE}
RUN ln -s ${CODESONAR_HOME} /opt/codesonar
RUN useradd -ms /bin/bash codesonar
# 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
#This is a hubless installation, so we can remove hub components:
RUN cd /opt/codesonar; rm -rf codesonar/doc \
codesonar/py/hub \
codesonar/py/processors \
codesonar/src/api/javadoc \
codevice \
csurf/doc \
csurf/src/api/javadoc \
csurf/src/feir/api/javadoc \
third-party/boost \
third-party/jquery \
third-party/postgresql* \
third-party/sqlalchemy \
)
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
......@@ -55,8 +62,6 @@ RUN rm /opt/codesonar-6.1p0/third-party/python/instmt/lib/python3.9/site-package
RUN rm /opt/codesonar-6.1p0/third-party/python/instmt/lib/python3.9/site-packages/slapdtest/certs/server.key
RUN mkdir /home/codesonar/hub \
&& chown codesonar.codesonar /home/codesonar/hub
#The following is needed as RH8 does not have libnsl.so.1
RUN ln -s /usr/lib64/libnsl.so.2 /usr/lib64/libnsl.so.1
......
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