dockerfiles/gitolite-stagit/Makefile

17 lines
372 B
Makefile

USERNAME = rilla
IMG_NAME = gitolite-stagit
.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) .