Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
a6408e58
Commit
a6408e58
authored
Oct 14, 2017
by
Dong Zhihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add docker
parent
7363f758
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
.gitignore
.gitignore
+0
-1
Dockerfile
Dockerfile
+27
-0
No files found.
.gitignore
View file @
a6408e58
#ignore all files without extension
*
!*.*
!*/
...
...
Dockerfile
0 → 100644
View file @
a6408e58
# A image for building/testing brpc
FROM
ubuntu:16.04
# prepare env
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
curl
\
apt-utils
\
openssl
\
ca-certificates
# install deps
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
git
\
g++
\
make
\
libssl-dev
\
libgflags-dev
\
libprotobuf-dev
\
libprotoc-dev
\
protobuf-compiler
\
libleveldb-dev
\
libsnappy-dev
&&
\
apt-get clean
-y
RUN
git clone https://github.com/brpc/brpc.git brpc
RUN
cd
/brpc
&&
sh config_brpc.sh
--headers
=
/usr/include
--libs
=
/usr/lib
&&
\
make
-j
"
$(
nproc
)
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment