From 058df70ece761fc6f1af906f3f5849fcac312744 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Tue, 1 Sep 2020 13:09:37 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Cache=20builds=20from=20pr?= =?UTF-8?q?evious=20build=20(for=20Travis)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build b/build index d0ad1fa..17fdee8 100755 --- a/build +++ b/build @@ -21,9 +21,9 @@ get_from_web() { handle_data -docker build -t my_ocrd_workflow-core -f Dockerfile-core . -docker build -t my_ocrd_workflow-ocrd_calamari -f Dockerfile-ocrd_calamari . -docker build -t my_ocrd_workflow-dinglehopper -f Dockerfile-dinglehopper . -docker build -t my_ocrd_workflow-ocrd_olena -f Dockerfile-ocrd_olena . -docker build -t my_ocrd_workflow-ocrd_tesserocr -f Dockerfile-ocrd_tesserocr . -docker build -t my_ocrd_workflow-sbb_textline_detector -f Dockerfile-sbb_textline_detector . +docker build --cache-from=my_ocrd_workflow-core -t my_ocrd_workflow-core -f Dockerfile-core . +docker build --cache-from=my_ocrd_workflow-ocrd_calamari -t my_ocrd_workflow-ocrd_calamari -f Dockerfile-ocrd_calamari . +docker build --cache-from=my_ocrd_workflow-dinglehopper -t my_ocrd_workflow-dinglehopper -f Dockerfile-dinglehopper . +docker build --cache-from=my_ocrd_workflow-ocrd_olena -t my_ocrd_workflow-ocrd_olena -f Dockerfile-ocrd_olena . +docker build --cache-from=my_ocrd_workflow-ocrd_tesserocr -t my_ocrd_workflow-ocrd_tesserocr -f Dockerfile-ocrd_tesserocr . +docker build --cache-from=my_ocrd_workflow-sbb_textline_detector -t my_ocrd_workflow-sbb_textline_detector -f Dockerfile-sbb_textline_detector .