-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
415 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
; DO NOT EDIT (unless you know what you are doing) | ||
; | ||
; This subdirectory is a git "subrepo", and this file is maintained by the | ||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme | ||
; git-subrepo command. See https://github.com/ingydotnet/git-subrepo#readme | ||
; | ||
[subrepo] | ||
remote = https://github.com/line/gradle-scripts.git | ||
branch = master | ||
commit = d8dbcb3f2d1730582f30db4c6f0007102011a2ba | ||
parent = 40da8c431672c35f0face746c3d247f87f700dfa | ||
cmdver = 0.4.3 | ||
commit = 566f6109098bb5c3737f494b67d943e760d804c9 | ||
parent = 3fbe79292a19239434ee29c22462059bc9c8839b | ||
cmdver = 0.4.5 | ||
method = merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# this builds a thrift binary without library support (only for code generation) | ||
# because Apache thrift official repo no longer maintain a binary distribution | ||
FROM ubuntu:bionic as builder | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# see https://archive.apache.org/dist/thrift/ | ||
ENV THRIFT_VERSION=0.17.0 | ||
|
||
# see https://thrift.apache.org/docs/install/debian.html | ||
RUN apt-get update -yq && \ | ||
apt-get install -y --no-install-recommends \ | ||
automake \ | ||
bison \ | ||
binutils \ | ||
flex \ | ||
g++ \ | ||
git \ | ||
libboost-all-dev \ | ||
libevent-dev \ | ||
libssl-dev \ | ||
libtool \ | ||
make \ | ||
pkg-config | ||
|
||
ADD https://archive.apache.org/dist/thrift/${THRIFT_VERSION}/thrift-${THRIFT_VERSION}.tar.gz /tmp/thrift.tar.gz | ||
|
||
RUN echo "b272c1788bb165d99521a2599b31b97fa69e5931d099015d91ae107a0b0cc58f /tmp/thrift.tar.gz" | sha256sum -c && \ | ||
tar xzf /tmp/thrift.tar.gz -C /tmp | ||
|
||
RUN cd /tmp/thrift-${THRIFT_VERSION} && \ | ||
./bootstrap.sh && \ | ||
./configure \ | ||
--disable-debug \ | ||
--disable-tests \ | ||
--disable-libs \ | ||
&& \ | ||
make -j$(nproc) && \ | ||
make install | ||
|
||
FROM ubuntu:bionic | ||
|
||
COPY --from=builder /usr/local/bin/thrift /usr/local/bin/thrift | ||
|
||
# Minimizing Thrift binary size | ||
RUN /usr/bin/strip /usr/local/bin/thrift | ||
|
||
ENTRYPOINT [ "/usr/local/bin/thrift" ] | ||
|
||
CMD [ "-help" ] |
Oops, something went wrong.