Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 4cef409

Browse files
authored
Merge pull request #84 from krezreb/master
Makefile add support for dockerhub image
2 parents 5558800 + 978901c commit 4cef409

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ SHELL := /bin/bash
1111

1212
# Build a new docker image for the CA bot
1313
build: reset-permissions
14+
ifdef DOCKER_IMAGE
15+
docker pull $(DOCKER_IMAGE)
16+
docker tag $(DOCKER_IMAGE) ca
17+
else
1418
docker build -t ca -f Dockerfile-ca ..
19+
endif
20+
1521

1622
# Generate a new CA key
1723
generate: env-file-exists build

0 commit comments

Comments
 (0)