X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=test%2Fprodstub%2Fprod-stub-build-start.sh;fp=test%2Fprodstub%2Fprod-stub-build-start.sh;h=7f111b643348e442917b1839e173522d94f0d06c;hb=f38e1e8cb3652e73ea1e76b5a1a77a4aeb108577;hp=0000000000000000000000000000000000000000;hpb=6b0db1f4f80c25773aea907ebb0ca38d6653ae7d;p=nonrtric.git diff --git a/test/prodstub/prod-stub-build-start.sh b/test/prodstub/prod-stub-build-start.sh new file mode 100755 index 00000000..7f111b64 --- /dev/null +++ b/test/prodstub/prod-stub-build-start.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +# ============LICENSE_START=============================================== +# Copyright (C) 2020 Nordix Foundation. All rights reserved. +# ======================================================================== +# 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. +# ============LICENSE_END================================================= +# + +#Builds the producer stub container and starts it in interactive mode + +docker build -t producer-stub . + +docker run -it -p 8092:8092 -p 8093:8093 --name producer-stub producer-stub