Add ability to capture raw messages
[ric-app/mc.git] / src / sidecars / listener / mcl_dev.df
1 # vim: ts=4 sw=4 noet:
2 #==================================================================================
3 #       Copyright (c) 2018-2019 AT&T Intellectual Property.
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
18
19 #       Mnemonic:       mcl_dev.df
20 #       Abstract:       This is a docker build file which creates an image that can be used
21 #                               for interactive development of the MC listener and related applications.
22 #                               Building should be as simple as:
23 #                                       docker build -f mcl_dev.df -t mcl_dev:latest .
24 #
25 #                               The image contains the NNG and RMR libraries and headers needed.  The 
26 #                               MC listener source is NOT placed into the image. Rather the source should
27 #                               be mounted as a volume when the container is created:
28 #
29 #                                       docker run --rm -it -v $PWD:/playpen/src -u <uid>:<gid> sh
30 #                               (assuming that the source is in the current working directory).
31 #                               Once the container is running, vi, make and git are all available.
32 #       Date:           22 August 2019
33 #       Author:         E. Scott Daniels
34 #---------------------------------------------------------------------------------------
35
36 FROM ubuntu:18.04
37 RUN mkdir /playpen
38
39 RUN apt-get update && apt-get install -y cmake gcc make vim git
40 RUN apt-get install -y cmake g++ wget
41
42 RUN mkdir /playpen/bin
43 COPY build_dev_env.sh /playpen/bin/
44 RUN bash /playpen/bin/build_dev_env.sh
45
46 ENV LD_LIBRARY_PATH=/usr/local/lib;/usr/local/lib64
47 ENV C_INCLUDE_PATH=/usr/local/include
48
49 CMD [ "bash" ]
50
51