Unable to install Docker Container for RockerChatMobilePushGateway
Good day, Thanks for your brilliant contribution. I do however have trouble installing the gateway and require some assistance please. I have tried installing the Docker container, but I get the below error:
I run commands on Ubuntu 16.04.5 LTS:
cd /opt/pushGateway git clone -b master https://git.fairkom.net/chat/RocketChatMobilePushGateway.git cd RocketChatMobilePushGateway docker build -t "gateway:Dockerfile" .
Then I get the following output and error:
Sending build context to Docker daemon 119.3 kB Step 1/7 : FROM afelder/proxygen:2018.1 ---> 0b57223a066f Step 2/7 : LABEL maintainer "armin.felder@osalliance.com" ---> Using cache ---> 384dc80506b3 Step 3/7 : ADD . /pushGateway/RocketChatMobilePushGateway ---> e37e6da1c1eb Removing intermediate container e054fcd21bca Step 4/7 : RUN cd /pushGateway/RocketChatMobilePushGateway &&cmake . && make && rm CMake* -rf && rm cmake* -rf ---> Running in 20ae990d0715 -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done CMake Error at CMakeLists.txt:19 (add_executable): Cannot find source file: libs/cpp-jwt/include/jwt/jwt.hpp Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error: CMake can not determine linker language for target: rocketChatMobilePushGateway CMake Error: Cannot determine link language for target "rocketChatMobilePushGateway". -- Generating done -- Build files have been written to: /pushGateway/RocketChatMobilePushGateway The command '/bin/sh -c cd /pushGateway/RocketChatMobilePushGateway &&cmake . && make && rm CMake* -rf && rm cmake* -rf' returned a non-zero code: 1
Please advise what I'm doing wrong here? ANY assitance would be greatly appreciated. Thanks in advance