# See the License for the specific language governing permissions and
# limitations under the License.
-# CI to verify the RMR library and build run-time and dev packages
-# Inherits C toolchain from buildpack-deps:stretch
-# Adds cmake ksh and alien for RMR
-
-FROM buildpack-deps:stretch
+FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 as ubuntu
RUN apt-get update && apt-get -q -y install cmake ksh alien
+
+# Update CA certificates
+RUN apt update && apt install --reinstall -y \
+ ca-certificates \
+ && \
+ update-ca-certificates
+
ADD . /tmp
WORKDIR /tmp
-# build RMr, run unit tests, and generate packages and package lists
+# build rnib and generate package
RUN sh ci/build.sh
# Executing the container "as a binary" will cause the CI publish