dockerfiles/backup/Makefile

16 lines
307 B
Makefile
Raw Normal View History

2020-04-08 13:05:07 +02:00
IMG_NAME = backup
2022-03-07 13:55:05 +01:00
REGISTRY=registry.monotremata.xyz:443
2020-04-08 13:05:07 +02:00
2022-03-07 13:55:05 +01:00
IMG=$(REGISTRY)/$(IMG_NAME)
.PHONY: build build-nc tag push
2020-04-08 13:05:07 +02:00
build: Dockerfile make_backup.sh
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
2022-03-07 13:55:05 +01:00
build-nc: Dockerfile docker-entrypoint.sh sshd_config
docker build --no-cache -t $(IMG)