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 .