~dricottone/container-images

ref: a9f674c54e2eff2cc555c76c84f613abff90b010 container-images/nginx/Makefile -rw-r--r-- 506 bytes
a9f674c5Dominic Ricottone Buildkit progress 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CONMAN=sudo docker

REGISTRY=registry.intra.dominic-ricottone.com
IMAGE=nginx
TAG_HTTP=latest
TAG_WEBDAV=webdav

image: image-http image-webdav

image-http:
	$(CONMAN) buildx build --push --progress=plain \
		--platform linux/arm64,linux/amd64 \
		--tag $(REGISTRY)/$(IMAGE):$(TAG_HTTP) \
		.

image-webdav:
	$(CONMAN) buildx build --push --progress=plain \
		--platform linux/arm64,linux/amd64 \
		--tag $(REGISTRY)/$(IMAGE):$(TAG_WEBDAV) \
		. -f Dockerfile.webdav

.PHONY: image image-http image-webdav