forked from apache/brpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (24 loc) · 693 Bytes
/
Dockerfile
File metadata and controls
27 lines (24 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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)"