File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ COPY . .
32
32
COPY ocrd-tool.json .
33
33
# prepackage ocrd-tool.json as ocrd-all-tool.json
34
34
RUN ocrd ocrd-tool ocrd-tool.json dump-tools > $(dirname $(ocrd bashlib filename))/ocrd-all-tool.json
35
+ # prepackage ocrd-all-module-dir.json
36
+ RUN ocrd ocrd-tool ocrd-tool.json dump-module-dirs > $(dirname $(ocrd bashlib filename))/ocrd-all-module-dir.json
35
37
RUN make install && rm -rf /build/dinglehopper
36
38
37
39
WORKDIR /data
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ PIP = pip3
3
3
PYTHONIOENCODING =utf8
4
4
PYTEST_ARGS = -vv
5
5
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
8
9
9
10
help :
10
11
@echo
24
25
pytest $(PYTEST_ARGS )
25
26
26
27
docker :
27
- docker build \
28
+ $( DOCKER ) build \
28
29
--build-arg DOCKER_BASE_IMAGE=$(DOCKER_BASE_IMAGE ) \
29
30
--build-arg VCS_REF=$$(git rev-parse --short HEAD ) \
30
31
--build-arg BUILD_DATE=$$(date -u +"%Y-%m-%dT%H:%M:%SZ" ) \
You can’t perform that action at this time.
0 commit comments