summaryrefslogtreecommitdiffstats
path: root/src/main/docker/docker-files/startup.sh
diff options
context:
space:
mode:
authorxuegao <xue.gao@intl.att.com>2022-10-17 14:08:54 +0200
committerxuegao <xue.gao@intl.att.com>2022-10-24 10:15:40 +0200
commit347b1c864daea16f2f25bd4aafee6dc3a3ee13cb (patch)
tree559d01afe1d9cf0039bc82e5697d707cac80df3f /src/main/docker/docker-files/startup.sh
parent91d1bd069aca2052d5af2d7d32a8654ccd37959a (diff)
Dockerizing simulators
Create docker images for Core nssmf simulator. Issue-ID: INT-2162 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: Iee63f3d430d38442244d14c1baaf57859f7e6c1b
Diffstat (limited to 'src/main/docker/docker-files/startup.sh')
-rw-r--r--src/main/docker/docker-files/startup.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main/docker/docker-files/startup.sh b/src/main/docker/docker-files/startup.sh
new file mode 100644
index 0000000..63b6f03
--- /dev/null
+++ b/src/main/docker/docker-files/startup.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# ============LICENSE_START=======================================================
+# Copyright (C) 2022 AT&T Intellectual Property.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# 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