For generating configs for my Docker services using gomplate
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.
 
 
 

28 lines
473 B

.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