33 "nbformat_minor" : 0 ,
44 "metadata" : {
55 "colab" : {
6- "provenance" : []
6+ "provenance" : [],
7+ "include_colab_link" : true
78 },
89 "kernelspec" : {
910 "name" : " python3" ,
1415 }
1516 },
1617 "cells" : [
18+ {
19+ "cell_type" : " markdown" ,
20+ "metadata" : {
21+ "id" : " view-in-github" ,
22+ "colab_type" : " text"
23+ },
24+ "source" : [
25+ " <a href=\" https://colab.research.google.com/github/pulipulichen/docker-app-Document-to-Image-Only-PDF/blob/main/colab/docker_app_Document_to_Image_Only_PDF.ipynb\" target=\" _parent\" ><img src=\" https://colab.research.google.com/assets/colab-badge.svg\" alt=\" Open In Colab\" /></a>"
26+ ]
27+ },
1728 {
1829 "cell_type" : " markdown" ,
1930 "source" : [
5061 "metadata" : {
5162 "id" : " h5TtpfLN5BBx"
5263 },
53- "execution_count" : null ,
64+ "execution_count" : 1 ,
5465 "outputs" : []
5566 },
5667 {
334345 "colab" : {
335346 "base_uri" : " https://localhost:8080/"
336347 },
337- "outputId" : " 76ad385d-aeec-48c9-efd0-3b6cac9193b9 "
348+ "outputId" : " 79ba6fbc-6cff-4dca-bead-919a138cd235 "
338349 },
339- "execution_count" : null ,
350+ "execution_count" : 2 ,
340351 "outputs" : [
341352 {
342353 "output_type" : " stream" ,
343354 "name" : " stdout" ,
344355 "text" : [
345- " Collecting CherryPy==18.8.0\n " ,
346- " Downloading CherryPy-18.8.0-py2.py3-none-any.whl (348 kB)\n " ,
347- " \u001b [2K \u001b [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b [0m \u001b [32m348.4/348.4 kB\u001b [0m \u001b [31m2.2 MB/s\u001b [0m eta \u001b [36m0:00:00\u001b [0m\n " ,
348- " \u001b [?25hCollecting cheroot>=8.2.1 (from CherryPy==18.8.0)\n " ,
349- " Downloading cheroot-10.0.1-py3-none-any.whl (104 kB)\n " ,
350- " \u001b [2K \u001b [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b [0m \u001b [32m104.8/104.8 kB\u001b [0m \u001b [31m6.5 MB/s\u001b [0m eta \u001b [36m0:00:00\u001b [0m\n " ,
351- " \u001b [?25hCollecting portend>=2.1.1 (from CherryPy==18.8.0)\n " ,
352- " Downloading portend-3.2.0-py3-none-any.whl (5.3 kB)\n " ,
353- " Requirement already satisfied: more-itertools in /usr/local/lib/python3.10/dist-packages (from CherryPy==18.8.0) (10.1.0)\n " ,
354- " Collecting zc.lockfile (from CherryPy==18.8.0)\n " ,
355- " Downloading zc.lockfile-3.0.post1-py3-none-any.whl (9.8 kB)\n " ,
356- " Collecting jaraco.collections (from CherryPy==18.8.0)\n " ,
357- " Downloading jaraco.collections-5.0.1-py3-none-any.whl (10 kB)\n " ,
358- " Collecting jaraco.functools (from cheroot>=8.2.1->CherryPy==18.8.0)\n " ,
359- " Downloading jaraco.functools-4.0.1-py3-none-any.whl (9.8 kB)\n " ,
360- " Collecting tempora>=1.8 (from portend>=2.1.1->CherryPy==18.8.0)\n " ,
361- " Downloading tempora-5.6.0-py3-none-any.whl (13 kB)\n " ,
362- " Collecting jaraco.text (from jaraco.collections->CherryPy==18.8.0)\n " ,
363- " Downloading jaraco.text-3.14.0-py3-none-any.whl (11 kB)\n " ,
364- " Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from zc.lockfile->CherryPy==18.8.0) (67.7.2)\n " ,
365- " Collecting jaraco.context>=4.1 (from jaraco.text->jaraco.collections->CherryPy==18.8.0)\n " ,
366- " Downloading jaraco.context-5.3.0-py3-none-any.whl (6.5 kB)\n " ,
367- " Collecting autocommand (from jaraco.text->jaraco.collections->CherryPy==18.8.0)\n " ,
368- " Downloading autocommand-2.2.2-py3-none-any.whl (19 kB)\n " ,
369- " Requirement already satisfied: inflect in /usr/local/lib/python3.10/dist-packages (from jaraco.text->jaraco.collections->CherryPy==18.8.0) (7.0.0)\n " ,
370- " Collecting backports.tarfile (from jaraco.context>=4.1->jaraco.text->jaraco.collections->CherryPy==18.8.0)\n " ,
371- " Downloading backports.tarfile-1.2.0-py3-none-any.whl (30 kB)\n " ,
372- " Requirement already satisfied: pydantic>=1.9.1 in /usr/local/lib/python3.10/dist-packages (from inflect->jaraco.text->jaraco.collections->CherryPy==18.8.0) (2.8.2)\n " ,
373- " Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from inflect->jaraco.text->jaraco.collections->CherryPy==18.8.0) (4.12.2)\n " ,
374- " Requirement already satisfied: annotated-types>=0.4.0 in /usr/local/lib/python3.10/dist-packages (from pydantic>=1.9.1->inflect->jaraco.text->jaraco.collections->CherryPy==18.8.0) (0.7.0)\n " ,
375- " Requirement already satisfied: pydantic-core==2.20.1 in /usr/local/lib/python3.10/dist-packages (from pydantic>=1.9.1->inflect->jaraco.text->jaraco.collections->CherryPy==18.8.0) (2.20.1)\n " ,
376- " Installing collected packages: zc.lockfile, jaraco.functools, backports.tarfile, autocommand, tempora, jaraco.context, cheroot, portend, jaraco.text, jaraco.collections, CherryPy\n " ,
377- " Successfully installed CherryPy-18.8.0 autocommand-2.2.2 backports.tarfile-1.2.0 cheroot-10.0.1 jaraco.collections-5.0.1 jaraco.context-5.3.0 jaraco.functools-4.0.1 jaraco.text-3.14.0 portend-3.2.0 tempora-5.6.0 zc.lockfile-3.0.post1\n " ,
356+ " Requirement already satisfied: CherryPy==18.8.0 in /usr/local/lib/python3.10/dist-packages (18.8.0)\n " ,
357+ " Requirement already satisfied: cheroot>=8.2.1 in /usr/local/lib/python3.10/dist-packages (from CherryPy==18.8.0) (10.0.1)\n " ,
358+ " Requirement already satisfied: portend>=2.1.1 in /usr/local/lib/python3.10/dist-packages (from CherryPy==18.8.0) (3.2.0)\n " ,
359+ " Requirement already satisfied: more-itertools in /usr/local/lib/python3.10/dist-packages (from CherryPy==18.8.0) (10.5.0)\n " ,
360+ " Requirement already satisfied: zc.lockfile in /usr/local/lib/python3.10/dist-packages (from CherryPy==18.8.0) (3.0.post1)\n " ,
361+ " Requirement already satisfied: jaraco.collections in /usr/local/lib/python3.10/dist-packages (from CherryPy==18.8.0) (5.1.0)\n " ,
362+ " Requirement already satisfied: jaraco.functools in /usr/local/lib/python3.10/dist-packages (from cheroot>=8.2.1->CherryPy==18.8.0) (4.1.0)\n " ,
363+ " Requirement already satisfied: tempora>=1.8 in /usr/local/lib/python3.10/dist-packages (from portend>=2.1.1->CherryPy==18.8.0) (5.8.0)\n " ,
364+ " Requirement already satisfied: jaraco.text in /usr/local/lib/python3.10/dist-packages (from jaraco.collections->CherryPy==18.8.0) (4.0.0)\n " ,
365+ " Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from zc.lockfile->CherryPy==18.8.0) (75.1.0)\n " ,
366+ " Requirement already satisfied: python-dateutil in /usr/local/lib/python3.10/dist-packages (from tempora>=1.8->portend>=2.1.1->CherryPy==18.8.0) (2.8.2)\n " ,
367+ " Requirement already satisfied: jaraco.context>=4.1 in /usr/local/lib/python3.10/dist-packages (from jaraco.text->jaraco.collections->CherryPy==18.8.0) (6.0.1)\n " ,
368+ " Requirement already satisfied: autocommand in /usr/local/lib/python3.10/dist-packages (from jaraco.text->jaraco.collections->CherryPy==18.8.0) (2.2.2)\n " ,
369+ " Requirement already satisfied: backports.tarfile in /usr/local/lib/python3.10/dist-packages (from jaraco.context>=4.1->jaraco.text->jaraco.collections->CherryPy==18.8.0) (1.2.0)\n " ,
370+ " Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil->tempora>=1.8->portend>=2.1.1->CherryPy==18.8.0) (1.17.0)\n " ,
378371 " Collecting udocker==1.3.10\n " ,
379- " Downloading udocker-1.3.10-py2.py3-none-any.whl (117 kB)\n " ,
380- " \u001b [2K \u001b [90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ \u001b [0m \u001b [32m117.7/117.7 kB \u001b [0m \u001b [31m1.1 MB/s \u001b [0m eta \u001b [36m0:00:00 \u001b [0m \n " ,
381- " \u001b [?25hInstalling collected packages: udocker\n " ,
372+ " Using cached udocker-1.3.10-py2.py3-none-any.whl.metadata (33 kB)\n " ,
373+ " Using cached udocker-1.3.10-py2.py3-none-any.whl (117 kB) \n " ,
374+ " Installing collected packages: udocker\n " ,
382375 " Successfully installed udocker-1.3.10\n " ,
383376 " Info: creating repo: /root/.udocker\n " ,
384377 " Info: udocker command line interface 1.3.10\n " ,
389382 " /content\n " ,
390383 " /content/.docker-app\n " ,
391384 " Cloning into 'docker-app-Document-to-Image-Only-PDF'...\n " ,
392- " remote: Enumerating objects: 195 , done.\u001b [K\n " ,
393- " remote: Counting objects: 100% (195/195 ), done.\u001b [K\n " ,
394- " remote: Compressing objects: 100% (127/127 ), done.\u001b [K\n " ,
395- " remote: Total 195 (delta 103 ), reused 148 (delta 59 ), pack-reused 0\u001b [K\n " ,
396- " Receiving objects: 100% (195/195 ), 1.54 MiB | 9.30 MiB/s, done.\n " ,
397- " Resolving deltas: 100% (103/103 ), done.\n " ,
385+ " remote: Enumerating objects: 243 , done.\u001b [K\n " ,
386+ " remote: Counting objects: 100% (243/243 ), done.\u001b [K\n " ,
387+ " remote: Compressing objects: 100% (159/159 ), done.\u001b [K\n " ,
388+ " remote: Total 243 (delta 137 ), reused 178 (delta 75 ), pack-reused 0 (from 0) \u001b [K\n " ,
389+ " Receiving objects: 100% (243/243 ), 1.55 MiB | 5.66 MiB/s, done.\n " ,
390+ " Resolving deltas: 100% (137/137 ), done.\n " ,
398391 " /content\n "
399392 ]
400393 }
408401 "metadata" : {
409402 "id" : " x9YAO8Z65KyX"
410403 },
411- "execution_count" : null ,
404+ "execution_count" : 3 ,
412405 "outputs" : []
413406 },
414407 {
419412 "metadata" : {
420413 "id" : " Q5fPXjdA5Lsi"
421414 },
422- "execution_count" : null ,
415+ "execution_count" : 4 ,
423416 "outputs" : []
424417 },
425418 {
437430 " main()"
438431 ],
439432 "metadata" : {
440- "id" : " uYv508WC5Nkd" ,
441- "colab" : {
442- "base_uri" : " https://localhost:8080/"
443- },
444- "outputId" : " c9622496-96fc-4a9a-e3e0-94d2fca4c0f2"
433+ "id" : " uYv508WC5Nkd"
445434 },
446435 "execution_count" : null ,
447- "outputs" : [
448- {
449- "output_type" : " stream" ,
450- "name" : " stdout" ,
451- "text" : [
452- " Info: downloading layer sha256:56bf31689f230cd959108501b077cc3f1092e14249b74c0883b80088829ccdfd\n " ,
453- " Info: downloading layer sha256:0dc4a61eff546a65ad53cf1e218ddf3d18d74886f3d2b4ecf4f8426b0641fbcc\n " ,
454- " Info: downloading layer sha256:3fb59ab32cec2e7c25972b7868127bcb08cc863a8b3a66c1e56a2496f0eac8cc\n " ,
455- " Info: downloading layer sha256:a8efde2b2fa9a36d5203bd9de04938e87a9d22a5f6b841af7be4dc726d62d2e5\n " ,
456- " Info: downloading layer sha256:3fe002cb6ff9063faffdcf11a720c39809ac4faf1d7edd192feb6ee3da6ed950\n " ,
457- " Info: downloading layer sha256:8087a1a6e516cd878248159a811220ea5ec3762fa3dec6072ff153ae2e9acf6d\n " ,
458- " Info: downloading layer sha256:fb6b2f7bfb887ca13efd129fbda7f2711a37dafce1e7a0ce559caf9dc3123272\n " ,
459- " Info: downloading layer sha256:feb19eef7abcf348f901a635a7dd7c0cfd977b75bba5f3f738c827f35a34f0da\n " ,
460- " Info: downloading layer sha256:a84e23bbd4479ad561bdbda86af80704c8fc3314c4103f0150267263423b2558\n " ,
461- " Info: downloading layer sha256:538ffe662a77edae748f77306da8b4e31ebc42b5de884b8bf85b2ad53f8d99b3\n " ,
462- " Info: downloading layer sha256:c9f2ae0ccdcb185061d31305b5fddbb634715e61421e77307f02567f1b84515d\n " ,
463- " Info: downloading layer sha256:a1f360148b181a84ff24b3ace76d320f3cfb28fcb6acad1cdb5c6e60735bd83a\n " ,
464- " Info: downloading layer sha256:d205dc8889e368dd24a89a8de314b9e824c4bc3a54f0586ef7b48668dd0d7538\n " ,
465- " Info: downloading layer sha256:5348855a40c0d786595168e168dd7c99857720aac9c184fa69c668f0e8a91ab0\n " ,
466- " Info: downloading layer sha256:c09b016fff62bb8002f99d7e639c0a2c0ce5a774796aae1e446e99deeb1ac01d\n " ,
467- " Info: downloading layer sha256:3790459d63d5fdf148a092f1857010796dfa217329491b66a015a40de92f3db9\n " ,
468- " Info: downloading layer sha256:821dc261e045ba09851c52ed28be3b9ecc9fe8c923fba05854ab0fd2fa38ceca\n " ,
469- " Info: downloading layer sha256:aff359114acb7d843de09375f87669fffb0abd1125c16f96431bc3c4173b48f8\n " ,
470- " Info: downloading layer sha256:c7c50787e2da71205402343dd1233b3ca6ebe70c7e790f6ba7d856b81b893200\n " ,
471- " \n " ,
472- " ****************************************************************************** \n " ,
473- " * * \n " ,
474- " * STARTING 0b09211f-4f54-36f0-8439-9a60c3f0f5a1 * \n " ,
475- " * * \n " ,
476- " ****************************************************************************** \n " ,
477- " executing: docker-entrypoint.sh\n " ,
478- " /input/.docker-app is a directory.\n " ,
479- " { cacheFolder: \u001b [32m'/cache/緊急連絡 通訊錄 範例表'\u001b [39m }\n " ,
480- " pdftoppm \" /input/緊急連絡 通訊錄 範例表.pdf\" \" /cache/緊急連絡 通訊錄 範例表/緊急連絡 通訊錄 範例表\" -png\n "
481- ]
482- }
483- ]
436+ "outputs" : []
484437 }
485438 ]
486439}
0 commit comments