⚙️ Cache builds from previous build (for Travis)

pull/27/head
Gerber, Mike 4 years ago
parent 568cf60b4c
commit 058df70ece

12
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 .

Loading…
Cancel
Save