🎨 Rename boxed-* to my_ocrd_workflow-*

pull/27/head
Gerber, Mike 4 years ago
parent a820d72526
commit 73ffa01d12

@ -1,4 +1,4 @@
FROM boxed-core FROM my_ocrd_workflow-core
ENV DINGLEHOPPER_COMMIT 2b98f69 ENV DINGLEHOPPER_COMMIT 2b98f69

@ -1,4 +1,4 @@
FROM boxed-core FROM my_ocrd_workflow-core
# Build pip installable stuff # Build pip installable stuff

@ -1,4 +1,4 @@
FROM boxed-core FROM my_ocrd_workflow-core
ENV OCRD_OLENA_VERSION 1.2.0 ENV OCRD_OLENA_VERSION 1.2.0

@ -1,4 +1,4 @@
FROM boxed-core FROM my_ocrd_workflow-core
ENV TESSDATA_BEST_VERSION 4.0.0 ENV TESSDATA_BEST_VERSION 4.0.0

@ -1,4 +1,4 @@
FROM boxed-core FROM my_ocrd_workflow-core
ENV SBB_TEXTLINE_DETECTOR_COMMIT 8b01d9e ENV SBB_TEXTLINE_DETECTOR_COMMIT 8b01d9e

12
build

@ -21,9 +21,9 @@ get_from_web() {
handle_data handle_data
docker build -t boxed-core -f Dockerfile-boxed-core . docker build -t my_ocrd_workflow-core -f Dockerfile-core .
docker build -t boxed-ocrd_calamari -f Dockerfile-boxed-ocrd_calamari . docker build -t my_ocrd_workflow-ocrd_calamari -f Dockerfile-ocrd_calamari .
docker build -t boxed-dinglehopper -f Dockerfile-boxed-dinglehopper . docker build -t my_ocrd_workflow-dinglehopper -f Dockerfile-dinglehopper .
docker build -t boxed-ocrd_olena -f Dockerfile-boxed-ocrd_olena . docker build -t my_ocrd_workflow-ocrd_olena -f Dockerfile-ocrd_olena .
docker build -t boxed-ocrd_tesserocr -f Dockerfile-boxed-ocrd_tesserocr . docker build -t my_ocrd_workflow-ocrd_tesserocr -f Dockerfile-ocrd_tesserocr .
docker build -t boxed-sbb_textline_detector -f Dockerfile-boxed-sbb_textline_detector . docker build -t my_ocrd_workflow-sbb_textline_detector -f Dockerfile-sbb_textline_detector .

12
run

@ -31,12 +31,12 @@ build_alias() {
alias $command="docker run $docker_run_options $docker_image $command" alias $command="docker run $docker_run_options $docker_image $command"
} }
shopt -s expand_aliases # Required for non-interactive shells shopt -s expand_aliases # Required for non-interactive shells
build_alias ocrd boxed-core build_alias ocrd my_ocrd_workflow-core
build_alias ocrd-olena-binarize boxed-ocrd_olena build_alias ocrd-olena-binarize my_ocrd_workflow-ocrd_olena
build_alias ocrd-sbb-textline-detector boxed-sbb_textline_detector build_alias ocrd-sbb-textline-detector my_ocrd_workflow-sbb_textline_detector
build_alias ocrd-calamari-recognize boxed-ocrd_calamari build_alias ocrd-calamari-recognize my_ocrd_workflow-ocrd_calamari
build_alias ocrd-tesserocr-recognize boxed-ocrd_tesserocr build_alias ocrd-tesserocr-recognize my_ocrd_workflow-ocrd_tesserocr
build_alias ocrd-dinglehopper boxed-dinglehopper build_alias ocrd-dinglehopper my_ocrd_workflow-dinglehopper
. $self_dir/my_ocrd_workflow . $self_dir/my_ocrd_workflow

Loading…
Cancel
Save