Add makefile with build and test targets

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-07-23 10:40:55 -07:00
parent 53a67a77b9
commit 200f7191d7
1 changed files with 7 additions and 0 deletions

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
all:
docker build -t docker/libcontainer .
test:
# we need NET_ADMIN for the netlink tests
docker run --rm --cap-add NET_ADMIN docker/libcontainer