# Author: E. Scott Daniels
-FROM ubuntu:18.04 as buildenv
+FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu16-c-go:2-u16.04-nng as buildenv
RUN mkdir /playpen
RUN apt-get update && apt-get install -y cmake gcc make git g++ wget
+WORKDIR /playpen
+# Install RMr (runtime and dev) from debian package cached on packagecloud.io
+ARG RMR_VER=1.10.2
+
+RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_${RMR_VER}_amd64.deb/download.deb
+RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_${RMR_VER}_amd64.deb/download.deb
+RUN dpkg -i rmr_${RMR_VER}_amd64.deb
+RUN dpkg -i rmr-dev_${RMR_VER}_amd64.deb
+
+
RUN mkdir /playpen/bin /playpen/src
ARG SRC=.
COPY ${SRC}/build_dev_env.sh /playpen/bin/