Falco20019 / docker-thrift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thrift Docker Image

This is repository is fork of ahawkins/docker-thrift that does not seem to be actively maintained - see ahawkins/docker-thrift/pull/22.

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

Build and publish

docker build -f 0.13/Dockerfile  -t jaegertracing/thrift:0.13 .
docker push jaegertracing/thrift:0.13

About

License:MIT License


Languages

Language:Dockerfile 100.0%