tree: 1a1d26a657e9df500a6cbf22dbb62dc11b421c0e [path history] [tgz]
  1. centos/
  2. ubuntu/
  3. README.md
  4. 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 -it thrift /bin/bash