Skip to content

Commit b1ef3af

Browse files
committed
docker: use latest core base stage
1 parent d09e396 commit b1ef3af

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ PIP = pip3
33
PYTHONIOENCODING=utf8
44
PYTEST_ARGS = -vv
55

6-
DOCKER_BASE_IMAGE = docker.io/ocrd/core:v3.3.0
7-
DOCKER_TAG = ocrd/dinglehopper
6+
DOCKER_BASE_IMAGE ?= docker.io/ocrd/core:latest
7+
DOCKER_TAG ?= ocrd/dinglehopper
8+
DOCKER ?= docker
89

910
help:
1011
@echo
@@ -24,7 +25,7 @@ test:
2425
pytest $(PYTEST_ARGS)
2526

2627
docker:
27-
docker build \
28+
$(DOCKER) build \
2829
--build-arg DOCKER_BASE_IMAGE=$(DOCKER_BASE_IMAGE) \
2930
--build-arg VCS_REF=$$(git rev-parse --short HEAD) \
3031
--build-arg BUILD_DATE=$$(date -u +"%Y-%m-%dT%H:%M:%SZ") \

0 commit comments

Comments
 (0)