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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

16 lines
439 B

MAKEFLAGS += --silent
.PHONY: *
LOCAL_REPOSITORY=fedy95/baseimage:yamllint
YAMLLINT_TAG=latest
lint: lint-yaml
build-yamllint:
docker build -t ${LOCAL_REPOSITORY}-${YAMLLINT_TAG} image -f image/Dockerfile
lint-yaml: build-yamllint
docker run --rm -it -v $(PWD):/data ${LOCAL_REPOSITORY}-${YAMLLINT_TAG} .
lint-help: build-yamllint
docker run --rm -it -v $(PWD):/data ${LOCAL_REPOSITORY}-${YAMLLINT_TAG} --help
.DEFAULT_GOAL := lint