| jfarrell | e03f7e8 | 2015-02-18 23:25:54 -0500 | [diff] [blame] | 1 | # Apache Thrift Docker containers |
| 2 | A set of docker containers used to build and test Apache Thrift |
| 3 | |
| 4 | ### Available Containers |
| 5 | |
| 6 | * Ubuntu |
| 7 | * Centos |
| 8 | |
| 9 | ## Dependencies |
| 10 | |
| 11 | * 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 |
| 12 | |
| 13 | ## Usage |
| 14 | From the Apache Thrift code base root |
| 15 | |
| 16 | * Build |
| 17 | |
| 18 | docker build -t thrift contrib/docker/ubuntu |
| 19 | |
| 20 | or |
| 21 | |
| 22 | docker build -t thrift contrib/docker/centos |
| 23 | |
| 24 | * Run |
| 25 | |
| 26 | docker run -v $(pwd):/thrift -it thrift /bin/bash |
| 27 | |