File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM debian:10.0-slim as build
33ENV \
44 LANG=C.UTF-8 \
55 LC_ALL=C.UTF-8 \
6+ FBTHRIFT_VERSION=v2019.07.22.00 \
67 FIZZ_VERSION=v2019.07.22.00 \
78 FOLLY_VERSION=v2019.07.22.00 \
89 MCROUTER_VERSION=v0.40.0 \
@@ -15,6 +16,7 @@ RUN apt-get update \
1516 autoconf=2.69-11 \
1617 automake=1:1.16.1-4 \
1718 binutils-dev=2.31.1-16 \
19+ bison=2:3.3.2.dfsg-1 \
1820 build-essential=12.6 \
1921 ca-certificates=20190110 \
2022 cmake=3.13.4-1 \
@@ -73,6 +75,15 @@ RUN curl -Ls "https://github.com/facebook/wangle/archive/${WANGLE_VERSION}.tar.g
7375 && make -j $(nproc) \
7476 && make install
7577
78+ WORKDIR /usr/src/fbthrift
79+
80+ RUN curl -Ls "https://github.com/facebook/fbthrift/archive/${FBTHRIFT_VERSION}.tar.gz" \
81+ | tar xvzf - --strip-components=1 \
82+ && cd build \
83+ && cmake -Dcompiler_only=ON .. \
84+ && make -j $(nproc) \
85+ && make install
86+
7687WORKDIR /usr/src/mcrouter
7788
7889RUN curl -Ls "https://github.com/facebook/mcrouter/archive/${MCROUTER_VERSION}.tar.gz" \
You can’t perform that action at this time.
0 commit comments