This Dockerfile builds thrift 0.10.0 on Ubuntu 16.04
thrift-0.10.0-bin.tar.gz can be found in the root of the container. To get it out of the container you can run the following command: docker cp <container_id>:/thrift-0.10.0-bin.tar.gz thrift-0.10.0-bin.tar.gz