gorealis/vendor/git.apache.org/thrift.git/build/docker/README.md
Renan DelValle 8d445c1c77
Moving from govendor to dep, updated dependencies (#48)
* Moving from govendor to dep.

* Making the pull request template more friendly.

* Fixing akward space in PR template.

* goimports run on whole project using ` goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*")`

source of command: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
2018-01-07 13:13:47 -08:00

633 B

Apache Thrift Docker containers

A set of docker containers used to build and test Apache Thrift

Available Containers

  • Ubuntu - based on ubuntu:trusty (14.04)
  • Centos - based on centos:6.6

Dependencies

  • A working Docker environment. A Vagrantfile is provided which will setup an Ubuntu host and working Docker environment as well as build the Apache Thrift Docker container for testing and development

Usage

From the Apache Thrift code base root

  • Build

    docker build -t thrift build/docker/ubuntu

    or

    docker build -t thrift build/docker/centos

  • Run

    docker run -v $(pwd):/thrift/src -it thrift /bin/bash