From 76323db7947213d3be199b814da79e9705abc705 Mon Sep 17 00:00:00 2001 From: kba Date: Tue, 16 Jul 2024 21:14:14 +0200 Subject: [PATCH] :fire: make docker: use only one base image --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3daffddfc7..3d3ee36fcc 100644 --- a/Makefile +++ b/Makefile @@ -396,7 +396,7 @@ docker-cuda-torch: DOCKER_FILE = Dockerfile.cuda-torch docker-cuda-torch: docker-cuda docker docker-cuda docker-cuda-tf1 docker-cuda-tf2 docker-cuda-torch: - $(DOCKER_BUILD) -f $(DOCKER_FILE) $(DOCKER_TAG:%=-t %) --target ocrd_core_base --build-arg BASE_IMAGE=$(DOCKER_BASE_IMAGE) $(DOCKER_ARGS) . + @echo $(DOCKER_BUILD) -f $(DOCKER_FILE) $(DOCKER_TAG:%=-t %) --target ocrd_core_base --build-arg BASE_IMAGE=$(lastword $(DOCKER_BASE_IMAGE)) $(DOCKER_ARGS) . # Build wheels and source dist and twine upload them pypi: build