Add startup script to docker image
Issue-ID: VNFSDK-275
Change-Id: I75ee935b630c73293f9d3098e866088186c39cf7
Signed-off-by: Moshe <moshehoa@amdocs.com>
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 62095ca..816371b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -49,3 +49,7 @@
ENV NSB_DIR="/opt/nsb_bin" \
PYTHONPATH="${PYTHONPATH}:${NSB_DIR}/trex_client:${NSB_DIR}/trex_client/stl"
+
+ADD startup.sh /startup.sh
+RUN chmod 755 /startup.sh
+ENTRYPOINT /startup.sh
\ No newline at end of file
diff --git a/docker/startup.sh b/docker/startup.sh
new file mode 100644
index 0000000..71d0e7f
--- /dev/null
+++ b/docker/startup.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+##############################################################################
+# Copyright 2018 EuropeanSoftwareMarketingLtd.
+# ===================================================================
+# Licensed under the ApacheLicense, Version2.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
+#
+# 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
+##############################################################################
+
+tail -f /dev/null
\ No newline at end of file