summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile4
-rw-r--r--docker/startup.sh16
2 files changed, 20 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 62095ca..816371b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -49,3 +49,7 @@ COPY ./exec_tests.sh /usr/local/bin/
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