We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d09e396 commit b1ef3afCopy full SHA for b1ef3af
Makefile
@@ -3,8 +3,9 @@ PIP = pip3
3
PYTHONIOENCODING=utf8
4
PYTEST_ARGS = -vv
5
6
-DOCKER_BASE_IMAGE = docker.io/ocrd/core:v3.3.0
7
-DOCKER_TAG = ocrd/dinglehopper
+DOCKER_BASE_IMAGE ?= docker.io/ocrd/core:latest
+DOCKER_TAG ?= ocrd/dinglehopper
8
+DOCKER ?= docker
9
10
help:
11
@echo
@@ -24,7 +25,7 @@ test:
24
25
pytest $(PYTEST_ARGS)
26
27
docker:
- docker build \
28
+ $(DOCKER) build \
29
--build-arg DOCKER_BASE_IMAGE=$(DOCKER_BASE_IMAGE) \
30
--build-arg VCS_REF=$$(git rev-parse --short HEAD) \
31
--build-arg BUILD_DATE=$$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
0 commit comments