dockerfiles/gitolite/Makefile

15 lines
324 B
Makefile
Raw Normal View History

2020-04-08 13:05:07 +02:00
IMG_NAME = gitolite
2022-03-07 13:55:05 +01:00
REGISTRY=registry.monotremata.xyz:443
IMG=$(REGISTRY)/$(IMG_NAME)
2020-04-08 13:05:07 +02:00
2022-03-07 13:55:05 +01:00
.PHONY: build build-nc push
2020-04-08 13:05:07 +02:00
build: Dockerfile docker-entrypoint.sh sshd_config
2022-03-07 13:55:05 +01:00
docker build -t $(IMG) .
push: build
docker image push $(IMG)
2020-04-08 13:05:07 +02:00
build-nc: Dockerfile docker-entrypoint.sh sshd_config
2022-03-07 13:55:05 +01:00
docker build --no-cache -t $(IMG) .