X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=sidecars%2Flistener%2Fmcl_dev.df;fp=sidecars%2Flistener%2Fmcl_dev.df;h=5ebf244f029cdf5492c47c3bfe3aeb988bb94907;hb=fe2bd3618e4748333078f91c26a8a3f5dcf184c4;hp=0000000000000000000000000000000000000000;hpb=53a0c6d44d66556623c6aee61eb7b6de9c4fd41b;p=ric-app%2Fmc.git diff --git a/sidecars/listener/mcl_dev.df b/sidecars/listener/mcl_dev.df new file mode 100644 index 0000000..5ebf244 --- /dev/null +++ b/sidecars/listener/mcl_dev.df @@ -0,0 +1,51 @@ +# vim: ts=4 sw=4 noet: +#================================================================================== +# Copyright (c) 2018-2019 AT&T Intellectual Property. +# +# 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. +#================================================================================== + + +# Mnemonic: mcl_dev.df +# Abstract: This is a docker build file which creates an image that can be used +# for interactive development of the MC listener and related applications. +# Building should be as simple as: +# docker build -f mcl_dev.df -t mcl_dev:latest . +# +# The image contains the NNG and RMR libraries and headers needed. The +# MC listener source is NOT placed into the image. Rather the source should +# be mounted as a volume when the container is created: +# +# docker run --rm -it -v $PWD:/playpen/src -u : sh +# (assuming that the source is in the current working directory). +# Once the container is running, vi, make and git are all available. +# Date: 22 August 2019 +# Author: E. Scott Daniels +#--------------------------------------------------------------------------------------- + +FROM ubuntu:18.04 +RUN mkdir /playpen + +RUN apt-get update && apt-get install -y cmake gcc make vim git +RUN apt-get install -y cmake g++ wget + +RUN mkdir /playpen/bin +COPY build_dev_env.sh /playpen/bin/ +RUN bash /playpen/bin/build_dev_env.sh + +ENV LD_LIBRARY_PATH=/usr/local/lib;/usr/local/lib64 +ENV C_INCLUDE_PATH=/usr/local/include + +CMD [ "bash" ] + +