X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmodel%2FDockerfile;fp=src%2Fmodel%2FDockerfile;h=9b275c406bfa5eba9e8eaf020ab380b0db400c81;hb=e64778dac480d66d93449efd3e9767cea4f980f9;hp=0000000000000000000000000000000000000000;hpb=56044b79a2282e50a8c271b36289b1724cb40cd8;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/src/model/Dockerfile b/src/model/Dockerfile new file mode 100644 index 0000000..9b275c4 --- /dev/null +++ b/src/model/Dockerfile @@ -0,0 +1,16 @@ +FROM nexus3.o-ran-sc.org:10001/ubuntu:18.04 +RUN apt-get update && apt-get install -y cmake + +RUN apt-get install -y libcpprest-dev + +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 +RUN git clone https://github.com/Microsoft/cpprestsdk.git casablanca && \ + cd casablanca && \ + mkdir build && \ + cd build && \ + cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DBUILD_SAMPLES=OFF -DCMAKE_INSTALL_PREFIX=/usr/local .. && \ + ninja && \ + ninja install +RUN git clone https://github.com/nlohmann/json.git && cd json && cmake . && make install +RUN git clone https://github.com/pboettch/json-schema-validator.git && cd json-schema-validator &&mkdir build &&cd build && cmake .. && make install +COPY . ./