dockerfiles/tor/Makefile

20 lines
339 B
Makefile
Raw Normal View History

2022-07-13 09:29:27 +02:00
IMG_NAME=tor
REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
PLATFORMS=linux/amd64
2020-04-08 13:05:07 +02:00
2022-07-13 09:29:27 +02:00
.PHONY: build push buildx
2020-04-08 13:05:07 +02:00
2021-02-18 10:23:44 +01:00
build: Dockerfile entrypoint.sh
2022-07-13 09:29:27 +02:00
docker build -t $(IMG) .
2020-04-08 13:05:07 +02:00
2022-07-13 09:29:27 +02:00
push: build
docker image push $(IMG)
buildx: Dockerfile entrypoint.sh
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.