X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=721f1582170d2e33d3b885e7137298f9c35f5c95;hb=c7da4ee19c2b2a96c1eeccd8da944902fcd9323f;hp=d29876117831ac0168ce2e004a9dd8832740675f;hpb=5d9b232c7d3d6aea8686ea598d5b09ef82ecd6f0;p=ric-plt%2Fsubmgr.git diff --git a/Dockerfile b/Dockerfile index d298761..721f158 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,22 @@ ########################################################### FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as submgrcore +ARG g14="1.14.4" +ARG GOVERSION="1.14" +RUN wget -nv https://dl.google.com/go/go${g14}.linux-amd64.tar.gz \ + && tar -xf go${g14}.linux-amd64.tar.gz \ + && mv go /opt/go/${GOVERSION} \ + && rm -f go*.gz + +ENV DEFAULTPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +ENV PATH=$DEFAULTPATH:/usr/local/go/bin:/opt/go/${GOVERSION}/bin:/root/go/bin + +# Update CA certificates +RUN apt update && apt install --reinstall -y \ + ca-certificates \ + && \ + update-ca-certificates + RUN apt update && apt install -y iputils-ping net-tools curl tcpdump gdb valgrind WORKDIR /tmp