Lott, Christopher (cl778h) | d13fde1 | 2019-05-29 09:33:29 -0400 | [diff] [blame] | 1 | # 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: Alpine 3.9 |
| 18 | # standard packages: Go/C++, cmake, etc. |
| 19 | # RIC libraries: mcdlog (TODO), rmr |
| 20 | |
| 21 | FROM alpine:3.9 |
| 22 | RUN apk update && apk add \ |
| 23 | autoconf \ |
| 24 | automake \ |
| 25 | build-base \ |
| 26 | cmake \ |
| 27 | libtool \ |
| 28 | pkgconfig \ |
| 29 | git \ |
| 30 | go |
| 31 | |
| 32 | # MCDLOG version 0.0.2, not pinned |
| 33 | # fails to build in Alpine |
| 34 | #RUN cd /tmp && git clone https://gerrit.o-ran-sc.org/r/com/log \ |
| 35 | # && cd log && ./autogen.sh && ./configure && make && make install |
| 36 | |
| 37 | # RMR version 1.0.24 |
| 38 | RUN cd /tmp && git clone https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr \ |
| 39 | && cd rmr && git checkout a012cf63dfdad3656c995cb06c316fd208c63b98 && cmake . && make install |