docker-gonfigurator/Makefile
Ian Fijolek 03406f4105
All checks were successful
continuous-integration/drone/push Build is passing
Initial commit
2021-05-14 15:31:31 -07:00

29 lines
473 B
Makefile

.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