RIC-641 Fixing client/server model definitions and adding client and server API
[ric-plt/xapp-frame-cpp.git] / src / model / Dockerfile
1 FROM nexus3.o-ran-sc.org:10001/ubuntu:18.04
2 RUN apt-get update && apt-get install -y cmake
3
4 RUN apt-get install -y libcpprest-dev
5
6 RUN apt-get install -y  g++ git libboost-atomic-dev libboost-thread-dev libboost-system-dev libboost-date-time-dev libboost-regex-dev libboost-filesystem-dev libboost-random-dev libboost-chrono-dev libboost-serialization-dev libwebsocketpp-dev openssl libssl-dev ninja-build zlib1g-dev
7 RUN git clone https://github.com/Microsoft/cpprestsdk.git casablanca && \
8     cd casablanca && \
9     mkdir build && \
10     cd build && \
11     cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DBUILD_SAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/usr/local .. && \
12     ninja && \
13     ninja install
14 RUN git clone https://github.com/nlohmann/json.git && cd json && cmake . && make install
15 RUN git clone https://github.com/pboettch/json-schema-validator.git && cd json-schema-validator &&mkdir build &&cd build && cmake .. && make install
16 COPY . ./