X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Ftest%2FSTD_1.1.3%2Fbuild_and_start.sh;h=0d48fbf361957f2f03dc98998622169a5dc5f33a;hb=9ab67f5d44b9e5bfcafddd6ea5e0ae10f68ca110;hp=1dcacc4b6c06e51eaf8c480aa6b730d0f9594c83;hpb=8302f193ed4669cccd75b15512b76b1760fc57db;p=sim%2Fa1-interface.git diff --git a/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh b/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh index 1dcacc4..0d48fbf 100755 --- a/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh +++ b/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh @@ -18,16 +18,6 @@ # # Script to build and start the container -# Args: nonsecure|secure - -if [ $# -ne 1 ]; then - echo "Usage: ./build_and_start.sh nonsecure|secure" - exit 1 -fi -if [ "$1" != "nonsecure" ] && [ "$1" != "secure" ]; then - echo "Usage: ./build_and_start.sh nonsecure|secure" - exit 1 -fi echo "Building image" cd ../../ @@ -35,11 +25,6 @@ cd ../../ #Build the image docker build -t a1test . -echo "Starting $1 mode" -if [ $1 == "nonsecure" ]; then - #Run the container in interactive mode, unsecure port - docker run -it -p 8085:8085 -e A1_VERSION=STD_1.1.3 -e REMOTE_HOSTS_LOGGING=1 a1test -else - #Run the container in interactive mode, secure port. - docker run -it -p 8185:8185 -e A1_VERSION=STD_1.1.3 -e REMOTE_HOSTS_LOGGING=1 --read-only --volume "$PWD/certificate:/usr/src/app/cert" a1test -fi \ No newline at end of file +echo "Starting ric-sim" +#Run the container in interactive mode, unsecure port 8085, secure port 8185 +docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=STD_1.1.3 -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test \ No newline at end of file