X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=Dockerfile;h=6457359bc4e5fd19da5b757ddfdfa890b53bfba8;hb=be9f2684de5ed4afbe22f441cb9db5f268d05af3;hp=ab40246e78dd8aec70037f9d10db8c54c9ed723b;hpb=4d0e07a80a63ea6e0590f3aa46f91ef6b52db8de;p=ric-plt%2Frtmgr.git diff --git a/Dockerfile b/Dockerfile index ab40246..6457359 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,12 +56,11 @@ RUN go install ./cmd/rtmgr.go # UT intermediate container FROM rtmgrbuild as rtmgrut RUN go test ./pkg/sbi ./pkg/rpe ./pkg/nbi ./pkg/sdl -cover -race - # Final, executable container FROM ubuntu:16.04 COPY --from=rtmgrbuild /go/bin/rtmgr / COPY --from=rtmgrbuild /run_rtmgr.sh / -RUN apt update && apt install -y iputils-ping net-tools curl tcpdump +RUN apt-get update && apt-get install -y iputils-ping net-tools curl tcpdump RUN mkdir /db && touch /db/rt.json && chmod 777 /db/rt.json RUN chmod 755 /run_rtmgr.sh CMD /run_rtmgr.sh