Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RocketChatMobilePushGateway
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
RocketChatMobilePushGateway
Commits
c7fad122
Commit
c7fad122
authored
7 years ago
by
root
Browse files
Options
Downloads
Patches
Plain Diff
fixed dockerfile
parent
10c31cf1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+49
-24
49 additions, 24 deletions
Dockerfile
with
49 additions
and
24 deletions
Dockerfile
+
49
−
24
View file @
c7fad122
FROM
debian:latest
FROM
debian:latest
RUN
apt-get update
&&
RUN
apt-get update
\
apt-get install build-essential cmake libcurlpp-dev git ibjsoncpp-dev
&& apt-get install apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common -y
RUN
apt-get
install
\
sudo
\
build-essential cmake libcurl4-gnutls-dev git libjsoncpp-dev
\
g++
\
g++
\
automake
\
automake
\
autoconf
\
autoconf
\
...
@@ -20,27 +28,44 @@ apt-get install build-essential cmake libcurlpp-dev git ibjsoncpp-dev
...
@@ -20,27 +28,44 @@ apt-get install build-essential cmake libcurlpp-dev git ibjsoncpp-dev
binutils-dev
\
binutils-dev
\
libjemalloc-dev
\
libjemalloc-dev
\
libssl-dev
\
libssl-dev
\
pkg-config -y &&
pkg-config
-y
\
mkdir /proxygenSrc && cd /proxygenSrc &&
wget
git clone https://github.com/facebook/proxygen.git &&
cd proxygen &&
RUN
mkdir
/proxygenSrc
&&
cd
/proxygenSrc
\
https://github.com/facebook/folly.git &&
&&
git clone https://github.com/facebook/proxygen.git
cd folly &&
autoreconf -ivf &&
./configure &&
RUN
cd
/proxygenSrc/proxygen
\
make march=native &&
&&
git clone https://github.com/facebook/folly.git
make check &&
make install &&
RUN
cd
/proxygenSrc/proxygen/folly/folly/test
\
cd .. &&
&&
rm
-rf
gtest
\
cd proxygen &&
&&
wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz
\
./deps.sh &&
&&
tar
zxf release-1.8.0.tar.gz
\
./reinstall.sh &&
&&
rm
-f
release-1.8.0.tar.gz
\
mkdir /pushGateway &&
&&
mv
googletest-release-1.8.0 gtest
cd /pushGateway &&
git clone https://git.fairkom.net/chat/RocketChatMobilePushGateway.git &&
ENV
CXXFLAGS "$CXXFLAGS -march=native"
cd RocketChatMobilePushGateway &&
ENV
CFLAGS "$CFLAGS -march=native"
cmake . &&
ENV
MAKEFLAGS="-j$[$(nproc) + 1]"
make march=native&&
./rocketChatMobilePushGateway
RUN
cd
/proxygenSrc/proxygen/folly/folly
\
&&
autoreconf
-ivf
\
&&
./configure
\
&& make \
&& make install \
&& cd ..
RUN
cd
/proxygenSrc/proxygen/proxygen
\
&&
./deps.sh
\
&&
./reinstall.sh
RUN
mkdir
/pushGateway
\
&&
cd
/pushGateway
\
&&
git clone https://git.fairkom.net/chat/RocketChatMobilePushGateway.git
\
&&
cd
RocketChatMobilePushGateway
\
&&
cmake
.
\
&&
make
\
&& ./rocketChatMobilePushGateway
EXPOSE
11000
EXPOSE
11000
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment