Commit a6408e58 authored by Dong Zhihong's avatar Dong Zhihong

add docker

parent 7363f758
#ignore all files without extension
*
!*.*
!*/
......
# 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)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment