diff options
author | Moshe <moshehoa@amdocs.com> | 2018-06-21 11:19:39 +0300 |
---|---|---|
committer | Moshe <moshehoa@amdocs.com> | 2018-06-21 11:19:50 +0300 |
commit | d9784d158cbdb1d46b14b9ae00436ce0ab7d4ed2 (patch) | |
tree | e7859b3d176f9a71e8dd2051b6577bc8ef20905b | |
parent | c7c4cc227ed9447b4fdceeceece35384404bd7ec (diff) |
Add startup script to docker image
Issue-ID: VNFSDK-275
Change-Id: I75ee935b630c73293f9d3098e866088186c39cf7
Signed-off-by: Moshe <moshehoa@amdocs.com>
-rw-r--r-- | docker/Dockerfile | 4 | ||||
-rw-r--r-- | docker/startup.sh | 16 |
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 |