Permalink
Browse files

docker: Introduce dockerfile_lint checks

  • Loading branch information...
Michal Rostecki
Michal Rostecki committed Oct 3, 2016
1 parent cca7792 commit a244b402c519660045a4c5dc40b7f1c88b4842e3
Showing with 5 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +1 −1 Makefile.am
  3. +3 −0 dockerfilelint.test
@@ -72,6 +72,7 @@ Makefile.in
*.log
*.test
!cpplint.test
!dockerfilelint.test
!gofmt.test
!go.test
*.trs
@@ -18,7 +18,7 @@ export CGO_LDFLAGS=$(LDFLAGS)

SUBDIRS = pkg/bolttools pkg/download pkg/libvirttools pkg/manager

check_SCRIPTS = cpplint.test gofmt.test
check_SCRIPTS = cpplint.test dockerfilelint.test gofmt.test
TESTS = $(check_SCRIPTS)

.PHONY: all vendor
@@ -0,0 +1,3 @@
#!/bin/sh

docker run -it --rm -v `pwd`:/root/ projectatomic/dockerfile-lint dockerfile_lint -f $(find . -name Dockerfile)

0 comments on commit a244b40

Please sign in to comment.