blob: 157fd043066372041c003143d04d2086386ba015 [file] [log] [blame]
Lott, Christopher (cl778h)d13fde12019-05-29 09:33:29 -04001# O-RAN-SC
2#
3# Copyright (C) 2019 AT&T Intellectual Property and Nokia
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# Builder image: Debian stretch
18# standard packages: Go, cmake, etc.
19# RIC libraries: mcdlog, rmr
20# inherits C and C++ tools from buildpack-deps:stretch
21
22FROM golang:1.12
23
24RUN apt-get update && apt-get -q -y install \
25 autoconf \
26 autoconf-archive \
27 automake \
28 cmake \
29 libtool \
30 pkg-config
31
32# version 0.0.2, not pinned
33RUN cd /tmp && git clone https://gerrit.o-ran-sc.org/r/com/log \
34 && cd log && ./autogen.sh && ./configure && make && make install
35
36# version 1.0.24
37RUN cd /tmp && git clone https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr \
38 && cd rmr && git checkout a012cf63dfdad3656c995cb06c316fd208c63b98 && cmake . && make install