UNCLASSIFIED

Commit 4e9e353f authored by Mark Hermeling's avatar Mark Hermeling
Browse files

remove scripts as this is a builder

parent 5ad7c94d
Pipeline #434686 failed with stages
in 20 seconds
...@@ -61,13 +61,11 @@ RUN mkdir /home/codesonar/hub \ ...@@ -61,13 +61,11 @@ RUN mkdir /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
COPY scripts/* /opt/
RUN chmod +x /opt/codesonar-exec.sh && \
chmod +x /opt/codesonar-health-check.sh
VOLUME [ /home/codesonar ] VOLUME [ /home/codesonar ]
HEALTHCHECK --interval=30s --timeout=30s --start-period=180s --retries=3 CMD /opt/codesonar-health-check.sh #HEALTHCHECK --interval=30s --timeout=30s --start-period=180s --retries=3 CMD /opt/codesonar-health-check.sh
#adjust some options #adjust some options
...@@ -80,5 +78,3 @@ RUN touch /opt/codesonar/TELEMETRY_DISABLED ...@@ -80,5 +78,3 @@ RUN touch /opt/codesonar/TELEMETRY_DISABLED
USER codesonar USER codesonar
WORKDIR /home/codesonar WORKDIR /home/codesonar
EXPOSE 7340/tcp
CMD ["sh", "-c", "/opt/codesonar-exec.sh"]
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