X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sidecars%2Flistener%2Fbuild_images.sh;h=30b9a9b71026e98a82540fe4501cde7aa08f364d;hb=refs%2Fchanges%2F60%2F4560%2F1;hp=d32b4f5f120307d8606886405d6056ae9d7a9d52;hpb=fe2bd3618e4748333078f91c26a8a3f5dcf184c4;p=ric-app%2Fmc.git diff --git a/sidecars/listener/build_images.sh b/sidecars/listener/build_images.sh index d32b4f5..30b9a9b 100755 --- a/sidecars/listener/build_images.sh +++ b/sidecars/listener/build_images.sh @@ -20,7 +20,8 @@ #------------------------------------------------------------------------------------ # Mnemonic: build_images.sh # Abstract: This script will create both the mc_listener runtime and development -# images. +# images when "all" is given on the command line, otherwise it builds +# just a runtime environment. # Date: 22 August 2-19 # Author: E. Scott Daniels # ----------------------------------------------------------------------------------- @@ -40,8 +41,8 @@ then fi -ver=${1:-1.2} -patch=${2:-1} +ver=${1:-1.3} +patch=${2:-0} if (( skip_dev == 0 )) then @@ -49,8 +50,9 @@ then docker build -f mcl_dev.df -t mcl_dev:$ver.$patch . fi +# use the main dockerfile for the runtime image echo "building runtime image mc_listener:$ver" -if docker build -f mcl_runtime.df -t mc_listener:$ver.$patch . +if docker build -f Dockerfile -t mc_listener:$ver.$patch . then echo "build finished" echo ""