blob: 157fd043066372041c003143d04d2086386ba015 [file] [log] [blame]
# O-RAN-SC
#
# Copyright (C) 2019 AT&T Intellectual Property and Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.
# Builder image: Debian stretch
# standard packages: Go, cmake, etc.
# RIC libraries: mcdlog, rmr
# inherits C and C++ tools from buildpack-deps:stretch
FROM golang:1.12
RUN apt-get update && apt-get -q -y install \
autoconf \
autoconf-archive \
automake \
cmake \
libtool \
pkg-config
# version 0.0.2, not pinned
RUN cd /tmp && git clone https://gerrit.o-ran-sc.org/r/com/log \
&& cd log && ./autogen.sh && ./configure && make && make install
# version 1.0.24
RUN cd /tmp && git clone https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr \
&& cd rmr && git checkout a012cf63dfdad3656c995cb06c316fd208c63b98 && cmake . && make install