X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=ec5fd57d9f760fff12171a4698b67e7f9192bdbd;hb=refs%2Fchanges%2F08%2F2808%2F1;hp=de491db54f45d908f71f83637f704156c9827120;hpb=9a9ecfe2f3f3592c07c24e502b4ce252cf3bd377;p=ric-plt%2Fvespamgr.git diff --git a/Dockerfile b/Dockerfile index de491db..ec5fd57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,10 @@ # 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. - +# +# This source code is part of the near-RT RIC (RAN Intelligent Controller) +# platform project (RICP). +# # Start from golang v1.12 base image FROM golang:1.12 as gobuild @@ -38,17 +41,7 @@ WORKDIR $GOPATH/src/vesmgr # Copy vesmgr to the Working Directory COPY $HOME/ . -RUN GO111MODULE=on go mod download - -# Run vesmgr UT -RUN export GOPATH=$HOME/go && \ - export PATH=$GOPATH/bin:$GOROOT/bin:$PATH && \ - go test ./... - -# Install vesmgr -RUN export GOPATH=$HOME/go && \ - export PATH=$GOPATH/bin:$GOROOT/bin:$PATH && \ - go install -v ./cmd/vesmgr +RUN ./build_vesmgr.sh ################# # @@ -60,7 +53,8 @@ FROM ubuntu:18.04 RUN apt-get update; apt-get install -y \ iputils-ping \ net-tools \ - curl + curl \ + tcpdump # Create the configuration directory for ves agent RUN mkdir -p /etc/ves-agent