adding docker build script and dockerfile
This commit is contained in:
parent
ea6d3a8ac0
commit
d90cee9fd3
5
tools/Dockerfile
Normal file
5
tools/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
FROM buildpack-deps:wheezy
|
||||||
|
|
||||||
|
ADD ./ldb /rocksdb/tools/ldb
|
||||||
|
|
||||||
|
CMD /rocksdb/tools/ldb
|
2
tools/dockerbuild.sh
Executable file
2
tools/dockerbuild.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
docker run -v $PWD/..:/rocks -w /rocks buildpack-deps make tools
|
Loading…
Reference in New Issue
Block a user