diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/docker/Dockerfile | 1 | ||||
-rw-r--r-- | src/main/docker/startService.sh | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index 1cd5e65..58aaeee 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -15,6 +15,5 @@ ADD startService.sh $MICROSERVICE_HOME/bin/ RUN chmod 755 $MICROSERVICE_HOME/config/* RUN chmod 755 $MICROSERVICE_HOME/lib/* RUN chmod 755 $MICROSERVICE_HOME/bin/* -# RUN apk --no-cache add curl CMD ["/opt/app/bin/startService.sh"] diff --git a/src/main/docker/startService.sh b/src/main/docker/startService.sh index 6bb0414..fd555ff 100644 --- a/src/main/docker/startService.sh +++ b/src/main/docker/startService.sh @@ -1,16 +1,5 @@ #!/bin/sh - -cd /opt/app -preStartFile="/opt/app/bin/pre_start.sh" -if [ -f "$preStartFile" ] -then - echo "Executing $preStartFile ... ..." - $preStartFile -else - echo "$preStartFile not found." -fi - cd /opt/app if [ -z "${java_runtime_arguments}" ]; then java -Dlogging.config=config/logback.xml -Xms128m -Xmx512m -jar /opt/app/lib/pomba-context-aggregator.jar |