From 4e9e353f85c2c50af9603d398887a6064f6391a1 Mon Sep 17 00:00:00 2001 From: Mark Hermeling Date: Fri, 20 Aug 2021 15:32:56 +0000 Subject: [PATCH] remove scripts as this is a builder --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7d28d88..6166987 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,13 +61,11 @@ RUN mkdir /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 -COPY scripts/* /opt/ -RUN chmod +x /opt/codesonar-exec.sh && \ - chmod +x /opt/codesonar-health-check.sh + 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 @@ -80,5 +78,3 @@ RUN touch /opt/codesonar/TELEMETRY_DISABLED USER codesonar WORKDIR /home/codesonar -EXPOSE 7340/tcp -CMD ["sh", "-c", "/opt/codesonar-exec.sh"] -- GitLab