FROM oraclelinux:7 LABEL maintainer="Refinitiv Active Help Service" # # Install required packages to run Refinivit Real-Time SDK C++ RUN yum -y install bind bind-libs bind-utils openssl openssl-devel gcc-c++.x86_64 git.x86_64 ksh redhat-lsb-core.x86_64 wget.x86_64 unzip # # Copy dowloaded API available on https://developers.refinitiv.com/en/api-catalog/elektron/elektron-sdk-cc/downloads, Older Version session, # # to in image, pack folder. COPY ./Elektron-SDK-1.4.0.L1.linux.rrg.tar.gz /opt/refinitiv/Elektron-SDK-1.4.0.L1.linux.rrg.tar.gz # # Unzip downloaded API. # # Get, unzip, install and put CMake on Envionment Variable. RUN cd /opt/refinitiv \ && tar -xvf Elektron-SDK-1.4.0.L1.linux.rrg.tar.gz \ && wget https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3.tar.gz \ && tar -xvf cmake-3.17.3.tar.gz \ && cd /opt/refinitiv/cmake-3.17.3/ \ && ./bootstrap -- -DCMAKE_BUILD_TYPE:STRING=Release \ && make \ && make install \ && export PATH=/opt/refinitiv/cmake-3.17.3/bin:$PATH RUN cd /opt/refinitiv/Elektron-SDK-1.4.0.L1.linux.rrg \ && ./LinuxSoLink \ && cmake . -H. -Besdk RUN cd /opt/refinitiv/Elektron-SDK-1.4.0.L1.linux.rrg/esdk && gmake WORKDIR /opt/refinitiv/Elektron-SDK-1.4.0.L1.linux.rrg/Cpp-C/Eta/Executables CMD /bin/sh