X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docker%2Fbldr-ric-debian-go%2FDockerfile;fp=docker%2Fbldr-ric-debian-go%2FDockerfile;h=157fd043066372041c003143d04d2086386ba015;hb=d13fde11532c0d3bf4f9a03598f5ec7db4a38243;hp=0000000000000000000000000000000000000000;hpb=edeff76a7fb00857cced9da9490a3d3f5f5f9956;p=ci-management.git diff --git a/docker/bldr-ric-debian-go/Dockerfile b/docker/bldr-ric-debian-go/Dockerfile new file mode 100644 index 00000000..157fd043 --- /dev/null +++ b/docker/bldr-ric-debian-go/Dockerfile @@ -0,0 +1,38 @@ +# 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