~dricottone/container-images

ref: e61b929e86a9f7fb86ddc619e5d2a25ced8d3d28 container-images/srht-git-ssh/Makefile -rw-r--r-- 459 bytes
e61b929eDominic Ricottone Okay now really things are updated a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CONMAN=sudo docker

REGISTRY=registry.intra.dominic-ricottone.com
IMAGE=srht-git-ssh
TAG=latest

KEYS=ssh_host_dsa_key.pub ssh_host_ecdsa_key.pub ssh_host_ed25519_key.pub ssh_host_rsa_key.pub ssh_host_dsa_key ssh_host_ecdsa_key ssh_host_ed25519_key ssh_host_rsa_key

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

$(KEYS):
	ssh-keygen -A -f ./

.PHONY: image