Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 900 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 900 Bytes

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, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages.

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" ahawkins/thrift 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 listed below:

  • Go - go fmt from go 1.4