diff options
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/Dockerfile | 2 | ||||
-rw-r--r-- | src/main/resources/reconfigure.sh | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/main/resources/Dockerfile b/src/main/resources/Dockerfile index d86e2c3..f0f827d 100644 --- a/src/main/resources/Dockerfile +++ b/src/main/resources/Dockerfile @@ -57,5 +57,5 @@ LABEL git.branch="${git.branch}" \ git.commit.user.name="${git.commit.user.name}" -ENTRYPOINT ["/bin/sh", "-c", "nohup sh etc/reconfigure.sh & /usr/local/openjdk-11/bin/java -jar ${project.artifactId}-${project.version}.jar"] +ENTRYPOINT ["/usr/local/openjdk-11/bin/java", "-jar", "${project.artifactId}-${project.version}.jar"] ARG JAR diff --git a/src/main/resources/reconfigure.sh b/src/main/resources/reconfigure.sh deleted file mode 100644 index 1998e5f..0000000 --- a/src/main/resources/reconfigure.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env sh -while true -do - sleep 60 - echo $(curl -sI -X GET https://localhost:8443/reconfigure -k | head -n1) >> /var/log/ONAP/dcaegen2/services/pm-mapper/reconfigure.log -done |