Skip to content

Commit

Permalink
Add makefile with build and test targets
Browse files Browse the repository at this point in the history
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
  • Loading branch information
Michael Crosby committed Jul 23, 2014
1 parent 53a67a7 commit 200f719
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 200f719

Please sign in to comment.