diff options
-rw-r--r-- | distribution/music/Dockerfile | 2 | ||||
-rw-r--r-- | distribution/music/startup.sh | 4 | ||||
-rwxr-xr-x | pom.xml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/distribution/music/Dockerfile b/distribution/music/Dockerfile index fcfb05fd..98e8ea41 100644 --- a/distribution/music/Dockerfile +++ b/distribution/music/Dockerfile @@ -24,7 +24,7 @@ LABEL purpose="Springboot for MUSIC" RUN apt-get update && apt-get install -y netcat telnet vim vim-common curl RUN groupadd --gid 1000 music && useradd --gid 1000 --uid 1000 music RUN mkdir -p /opt/app/music/logs/MUSIC -COPY MUSIC.jar /opt/app/music +COPY MUSIC-SB.jar /opt/app/music COPY startup.sh /opt/app/music RUN mkdir -p /opt/app/music/logs && \ chown -R music:music /opt/app/music/ && \ diff --git a/distribution/music/startup.sh b/distribution/music/startup.sh index a6d8308e..61536832 100644 --- a/distribution/music/startup.sh +++ b/distribution/music/startup.sh @@ -37,6 +37,6 @@ if [ ${EXTAP} ]; then EXTAP_OPTION="--spring.config.location=file:${EXTAP_FILE}" fi fi -echo "java -jar MUSIC.jar ${EXTAP_OPTION} --server.ssl.key-store-password=${PASSWORD} --aaf_password=enc:${PASSWORD} 2>&1 | tee ${LOGFILE}" -java -jar MUSIC.jar ${EXTAP_OPTION} --server.ssl.key-store-password="${PASSWORD}" --aaf_password="enc:${PASSWORD}" 2>&1 | tee ${LOGFILE} +echo "java -jar MUSIC-SB.jar ${EXTAP_OPTION} --server.ssl.key-store-password=${PASSWORD} --aaf_password=enc:${PASSWORD} 2>&1 | tee ${LOGFILE}" +java -jar MUSIC-SB.jar ${EXTAP_OPTION} --server.ssl.key-store-password="${PASSWORD}" --aaf_password="enc:${PASSWORD}" 2>&1 | tee ${LOGFILE} @@ -111,7 +111,6 @@ </repositories> <build> - <!-- <finalName>${project.artifactId}-${project.version}-${timestamp}</finalName>--> <finalName>${project.artifactId}</finalName> <sourceDirectory>src/main/java</sourceDirectory> <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory> @@ -146,6 +145,7 @@ <mainClass>org.onap.music.MusicApplication</mainClass> <outputDirectory>./distribution/music/</outputDirectory> <addResources>true</addResources> + <finalName>${project.artifactId}-SB</finalName> </configuration> <executions> <execution> |