tree: 2c253e24722d2e572e2ea8d274a1191b4e5cb758 [path history] [tgz]
  1. centos/
  2. centos6/
  3. debian/
  4. scripts/
  5. ubuntu/
  6. check_unmodified.sh
  7. README.md
  8. Vagrantfile
build/docker/README.md

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