~dricottone/container-images

ref: ed2d3cfdfb81503e88d3ee7a0387b6dba0818f3e container-images/haproxy/Makefile -rw-r--r-- 479 bytes
ed2d3cfdDominic Ricottone APK builder 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=haproxy
TAG_LOCAL=latest
TAG_SYSLOG=syslog

image: image-local image-syslog

image-local:
	$(CONMAN) buildx build --push \
		--platform linux/arm64,linux/amd64 \
		--tag $(REGISTRY)/$(IMAGE):$(TAG_LOCAL) \
		.

image-syslog:
	$(CONMAN) buildx build --push \
		--platform linux/arm64,linux/amd64 \
		--tag $(REGISTRY)/$(IMAGE):$(TAG_SYSLOG) \
		. -f Dockerfile.syslog

.PHONY: image image-local image-syslog