diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..2b06cbf71cfccafa8a9046e2cabc9352a6093a4a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,46 @@ +FROM debian:latest + +RUN apt-get update && +apt-get install build-essential cmake libcurlpp-dev git ibjsoncpp-dev + g++ \ + automake \ + autoconf \ + autoconf-archive \ + libtool \ + libboost-all-dev \ + libevent-dev \ + libdouble-conversion-dev \ + libgoogle-glog-dev \ + libgflags-dev \ + liblz4-dev \ + liblzma-dev \ + libsnappy-dev \ + make \ + zlib1g-dev \ + binutils-dev \ + libjemalloc-dev \ + libssl-dev \ + pkg-config -y && +mkdir /proxygenSrc && cd /proxygenSrc && +git clone https://github.com/facebook/proxygen.git && +cd proxygen && +https://github.com/facebook/folly.git && +cd folly && +autoreconf -ivf && +./configure && +make march=native && +make check && +make install && +cd .. && +cd proxygen && +./deps.sh && +./reinstall.sh && +mkdir /pushGateway && +cd /pushGateway && +git clone https://git.fairkom.net/chat/RocketChatMobilePushGateway.git && +cd RocketChatMobilePushGateway && +cmake . && +make march=native&& +./rocketChatMobilePushGateway + +EXPOSE 11000