Commit 3a0e6e34 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #73 from dzhwinter/fix/dockerfile

add dockerfile
parents 3a2dee28 a6408e58
#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