diff options
Diffstat (limited to 'aai-resources/src/main')
-rw-r--r-- | aai-resources/src/main/resources/docker/docker-entrypoint.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aai-resources/src/main/resources/docker/docker-entrypoint.sh b/aai-resources/src/main/resources/docker/docker-entrypoint.sh index a132b9b..695d515 100644 --- a/aai-resources/src/main/resources/docker/docker-entrypoint.sh +++ b/aai-resources/src/main/resources/docker/docker-entrypoint.sh @@ -50,6 +50,10 @@ httpsPort=8447; AAI_CORE_JAR=$(ls ${APP_HOME}/extJars/aai-core*.jar); +# Get the basename of the aai-core-X.Y.Z-SNAPSHOT.jar +# Then extract the X.Y.Z-SNAPSHOT part +AAI_CORE_VERSION=$(basename ${AAI_CORE_JAR} | grep -o '[0-9]*\.[0-9]*\.[0-9]*[^.]*'); + cd ${APP_HOME}; CP=${COMMONLIBS_HOME}/*; |