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