adding docker build script and dockerfile

This commit is contained in:
Aaron Schlesinger 2015-05-22 16:03:39 -07:00
parent ea6d3a8ac0
commit d90cee9fd3
2 changed files with 7 additions and 0 deletions

5
tools/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM buildpack-deps:wheezy
ADD ./ldb /rocksdb/tools/ldb
CMD /rocksdb/tools/ldb

2
tools/dockerbuild.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
docker run -v $PWD/..:/rocks -w /rocks buildpack-deps make tools