dockerfiles/gitolite-pystagit/Makefile

17 lines
374 B
Makefile
Raw Normal View History

2021-01-31 17:46:03 +01:00
USERNAME = rilla
IMG_NAME = gitolite-pystagit
.PHONY: build build-nc
BIN=$(wildcard bin/*)
HOOKS=$(wildcard local_code/hooks/*)
TRIGGERS=$(wildcard local_code/triggers/*)
DEPS=Dockerfile $(BIN) $(HOOKS) $(TRIGGERS) gitolite.rc sshd_config
build: $(DEPS)
docker build -t $(USERNAME)/$(IMG_NAME) .
build-nc: $(DEPS)
docker build --no-cache -t $(USERNAME)/$(IMG_NAME) .