docker-gonfigurator/Makefile

29 lines
473 B
Makefile
Raw Normal View History

2021-05-14 22:31:31 +00:00
.PHONY: build
build:
docker build .
.PHONY: build-arm
build-arm:
docker build --build-arg REPO=arm32v7 .
.PHONY: build-arm64
build-arm64:
docker build --build-arg REPO=arm64v8 .
.PHONY: build-all
build-all: build build-arm build-arm64
.PHONY: itest
itest:
cd tests && ./itest.sh
# Installs pre-commit hooks
.PHONY: install-hooks
install-hooks:
pre-commit install --install-hooks
# Runs pre-commit checks on files
.PHONY: check
check:
pre-commit run --all-files