blob: 85cb3b2ae93052e8445837fd127d04967cbdfe0f [file] [log] [blame] [view]
jfarrelle03f7e82015-02-18 23:25:54 -05001# Apache Thrift Docker containers
2A set of docker containers used to build and test Apache Thrift
3
4### Available Containers
5
Randy Abernethy65cf6c12015-03-15 17:38:19 -07006* Ubuntu - based on ubuntu:trusty (14.04)
7* Centos - based on centos:6.6
jfarrelle03f7e82015-02-18 23:25:54 -05008
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
14From the Apache Thrift code base root
15
16* Build
17
Randy Abernethy65cf6c12015-03-15 17:38:19 -070018 docker build -t thrift build/docker/ubuntu
jfarrelle03f7e82015-02-18 23:25:54 -050019
20 or
21
Randy Abernethy65cf6c12015-03-15 17:38:19 -070022 docker build -t thrift build/docker/centos
jfarrelle03f7e82015-02-18 23:25:54 -050023
24* Run
25
Nobuaki Sukegawaa6ab1f52015-11-28 15:04:39 +090026 docker run -v $(pwd):/thrift/src -it thrift /bin/bash
jfarrelle03f7e82015-02-18 23:25:54 -050027