From 200f7191d7cdd0ab848f201682571b349ce377b8 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Wed, 23 Jul 2014 10:40:55 -0700 Subject: [PATCH] Add makefile with build and test targets Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael) --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..5e577f0f --- /dev/null +++ b/Makefile @@ -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