|
|
@ -5,12 +5,12 @@ MAKEFLAGS += --silent |
|
|
|
REPOSITORY=fedy95/baseimage:yamllint |
|
|
|
TAG=latest |
|
|
|
|
|
|
|
build_yamllint: |
|
|
|
build-yamllint: |
|
|
|
docker build -t ${REPOSITORY}-${TAG} image -f image/Dockerfile |
|
|
|
|
|
|
|
lint: build_yamllint |
|
|
|
lint: build-yamllint |
|
|
|
@docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data ${REPOSITORY}-${TAG} . |
|
|
|
lint_help: build_yamllint |
|
|
|
lint_help: build-yamllint |
|
|
|
docker run --rm -v $(pwd):/data ${REPOSITORY}-${TAG} --help |
|
|
|
|
|
|
|
.DEFAULT_GOAL := lint |