Thrift Docker Image
The Apache Thrift software framework, for scalable cross-language
services development, combines a software stack with a code generation
engine to build services that work efficiently and seamlessly between
C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa,
Read more about Thrift.
How To Use This Image
This is image is intended to run as an executable. Files are provided
by mounting a directory. Here's an example of compiling
service.thrift to ruby.
docker run -v "$(pwd):/data" foxwoods/thrift:0.8 thrift --gen rb /data/service.thrift
Language Specific Installations
Thrift generates code for many lanuages. Some languages have
additional things to install besides the thrift compiler. They are
- Go -
go fmtfrom go 1.4