UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
G
GrammaTech
CodeSonar
codesonar-builder
Commits
8fa57218
Commit
8fa57218
authored
Aug 20, 2021
by
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
Dockerfile
Dockerfile
+15
-10
No files found.
Dockerfile
View file @
8fa57218
...
@@ -30,14 +30,21 @@ RUN rm -rf /opt/${CODESONAR_PACKAGE}
...
@@ -30,14 +30,21 @@ RUN rm -rf /opt/${CODESONAR_PACKAGE}
RUN
ln
-s
${
CODESONAR_HOME
}
/opt/codesonar
RUN
ln
-s
${
CODESONAR_HOME
}
/opt/codesonar
RUN
useradd
-ms
/bin/bash codesonar
RUN
useradd
-ms
/bin/bash codesonar
# Remove older software versions no longer needed
#This is a hubless installation, so we can remove hub components:
RUN
rm
-rf
${
CODESONAR_HOME
}
/third-party/postgresql-8.3
RUN
cd
/opt/codesonar
;
rm
-rf
codesonar/doc
\
RUN
rm
-rf
${
CODESONAR_HOME
}
/third-party/postgresql-8.4
codesonar/py/hub
\
RUN
rm
-rf
${
CODESONAR_HOME
}
/third-party/postgresql-9.0
codesonar/py/processors
\
RUN
rm
-rf
${
CODESONAR_HOME
}
/third-party/postgresql-9.1
codesonar/src/api/javadoc
\
RUN
rm
-rf
${
CODESONAR_HOME
}
/third-party/postgresql-9.2
codevice
\
RUN
rm
-rf
${
CODESONAR_HOME
}
/third-party/postgresql-9.3
csurf/doc
\
RUN
rm
-rf
${
CODESONAR_HOME
}
/third-party/postgresql-9.6
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/com.grammatech.codesonar.jar
RUN
rm
-rf
${
CODESONAR_HOME
}
/csonar-eclipse/eclipse_tests/CodeSonarTest_1.0.0.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
...
@@ -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
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
#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
RUN
ln
-s
/usr/lib64/libnsl.so.2 /usr/lib64/libnsl.so.1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment