diff options
author | xuegao <xue.gao@intl.att.com> | 2022-11-04 09:44:25 +0100 |
---|---|---|
committer | Xue Gao <xue.gao@intl.att.com> | 2022-11-10 08:25:18 +0000 |
commit | a795aedc51e4cca6ff6d36eac12ab1e6af7b93ab (patch) | |
tree | ef393a47983d3dd94610db8cc4a38cdb7fdf13ea /src | |
parent | 27ebcb877d17a7bf9bd28279bb8fe1b604eebd59 (diff) |
Dockerizing simulators
Fix the bug in Jenkins docker maven stage job.
Issue-ID: INT-2162
Signed-off-by: xuegao <xue.gao@intl.att.com>
Change-Id: I7ebd30e2ea854d30e88d6cd45d6de9c145ea204f
Diffstat (limited to 'src')
-rw-r--r-- | src/main/docker/docker-files/Dockerfile | 4 | ||||
-rw-r--r-- | src/main/docker/docker-files/startup.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/docker/docker-files/Dockerfile b/src/main/docker/docker-files/Dockerfile index 08b55a3..169f9c0 100644 --- a/src/main/docker/docker-files/Dockerfile +++ b/src/main/docker/docker-files/Dockerfile @@ -4,8 +4,8 @@ WORKDIR /home/onap USER onap -COPY --chown=onap:onap simulator-0.0.1-SNAPSHOT.jar /home/onap/simulator-0.0.1-SNAPSHOT.jar -COPY --chown=onap:onap startup.sh /home/onap/startup.sh +COPY --chown=onap:onap ./simulator-0.0.1*jar /home/onap/simulator-0.0.1.jar +COPY --chown=onap:onap ./startup.sh /home/onap/startup.sh RUN chmod 700 /home/onap/startup.sh diff --git a/src/main/docker/docker-files/startup.sh b/src/main/docker/docker-files/startup.sh index 63b6f03..c287471 100644 --- a/src/main/docker/docker-files/startup.sh +++ b/src/main/docker/docker-files/startup.sh @@ -18,4 +18,4 @@ # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= -java -jar /home/onap/simulator-0.0.1-SNAPSHOT.jar --spring.config.location=/home/onap/app/application.properties +java -jar /home/onap/simulator-0.0.1.jar --spring.config.location=/home/onap/app/application.properties |