mirror of
https://github.com/facebook/proxygen.git
synced 2026-10-24 01:33:54 +03:00
Summary: Missing cmake and build-essential dependencies in the current dockerfile in order to be able to compile: double-conversion Closes https://github.com/facebook/proxygen/pull/24 Github Author: Cedric Lamoriniere <cedric.lamoriniere@gmail.com> {sync, type="child", parent="github", parentrepo="facebook/proxygen", parentprnum="24", parentprfbid="734320296638206"} Test Plan: Imported from GitHub, without a `Test Plan:` line. Reviewed By: praveenr@fb.com Subscribers: bmatheny FB internal diff: D1710077 Signature: t1:1710077:1417458845:9bfccf661f8b5370c78a2dde1d82bd03e63f5e71
28 lines
693 B
Docker
28 lines
693 B
Docker
FROM ubuntu
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -yq git
|
|
RUN apt-get install -yq curl
|
|
RUN apt-get install -yq cmake build-essential
|
|
RUN apt-get install -yq \
|
|
flex \
|
|
bison \
|
|
libkrb5-dev \
|
|
libsasl2-dev \
|
|
libnuma-dev \
|
|
pkg-config \
|
|
libssl-dev \
|
|
libcap-dev \
|
|
ruby \
|
|
gperf \
|
|
autoconf-archive \
|
|
libevent-dev \
|
|
libgoogle-glog-dev \
|
|
wget
|
|
WORKDIR /home
|
|
RUN git clone https://github.com/facebook/proxygen.git
|
|
WORKDIR /home/proxygen/proxygen
|
|
RUN ./deps.sh && ./reinstall.sh
|
|
WORKDIR /home/proxygen/proxygen/httpserver/samples/echo
|
|
RUN g++ -std=c++11 -o my_echo EchoServer.cpp EchoHandler.cpp -lproxygenhttpserver -lfolly -lglog -lgflags -pthread
|