-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (21 loc) · 900 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:16.04
RUN apt-get update && \
apt-get install -y libboost-dev \
libboost-test-dev \
libboost-program-options-dev \
libboost-filesystem-dev \
libboost-thread-dev \
libevent-dev \
automake \
libtool \
flex \
bison \
pkg-config \
g++ \
libssl-dev \
build-essential \
wget && \
wget http://apache.belnet.be/thrift/0.10.0/thrift-0.10.0.tar.gz && \
tar -xvzf thrift-0.10.0.tar.gz && \
cd thrift-0.10.0 && ./configure && make && make install
RUN cd / && tar czpf thrift-0.10.0-bin.tar.gz /usr/local/bin/thrift /usr/local/lib/libthrift* /usr/local/include/thrift/ /usr/local/lib/pkgconfig/thrift*