You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
412 B
15 lines
412 B
MAKEFLAGS += --silent
|
|
|
|
.PHONY: *
|
|
|
|
YAMLLINT_TAG=latest
|
|
|
|
build_yamllint:
|
|
docker build -t fedy95/baseimage:yamllint-${YAMLLINT_TAG} image -f image/Dockerfile
|
|
|
|
lint: build_yamllint
|
|
@docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data fedy95/baseimage:yamllint-latest .
|
|
lint_help: build_yamllint
|
|
docker run --rm -v $(pwd):/data fedy95/baseimage:yamllint-latest --help
|
|
|
|
.DEFAULT_GOAL := build_yamllint
|