# limitations under the License.
#----------------------------------------------------------
-FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 AS o1mediator-build
+FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu20-c-go:1.0.0 AS o1mediator-build
RUN apt update && apt install --reinstall -y \
ca-certificates \
swig \
iputils-ping \
python-dev
-ENV GOLANG_VERSION 1.13.10
-RUN wget --quiet https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz \
- && tar xvzf go$GOLANG_VERSION.linux-amd64.tar.gz -C /usr/local
-ENV PATH="/usr/local/go/bin:${PATH}"
+#ENV GOLANG_VERSION 1.13.10
+#RUN wget --quiet https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz \
+# && tar xvzf go$GOLANG_VERSION.linux-amd64.tar.gz -C /usr/local
+#ENV PATH="/usr/local/go/bin:${PATH}"
ENV GOPATH="/go"
# ======================================================================
CMD ["/bin/bash"]
#----------------------------------------------------------
-FROM ubuntu:18.04 as o1mediator
+FROM ubuntu:20.04 as o1mediator
-RUN apt-get update -y && apt-get install -y jq \
+RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get install -y jq \
net-tools \
tcpdump \
netcat \
nano \
supervisor \
openssl \
- python-pip \
+ python3-pip \
libpcre3-dev \
pkg-config \
libavl-dev \