Skip to content

Instantly share code, notes, and snippets.

@siddjain
Created August 8, 2019 17:37
Show Gist options
  • Save siddjain/e623c801157a12a37c04b8d84c070d9b to your computer and use it in GitHub Desktop.
Save siddjain/e623c801157a12a37c04b8d84c070d9b to your computer and use it in GitHub Desktop.
$ docker image build -t siddjain/asciidoc .
Sending build context to Docker daemon 23.04kB
Step 1/20 : FROM alpine:3.9
3.9: Pulling from library/alpine
e7c96db7181b: Already exists
Digest: sha256:7746df395af22f04212cd25a92c1d6dbc5a06a0ca9579a229ef43008d4d1302a
Status: Downloaded newer image for alpine:3.9
---> 055936d39205
Step 2/20 : LABEL MAINTAINERS="Guillaume Scheibel <guillaume.scheibel@gmail.com>, Damien DUPORTAL <damien.duportal@gmail.com>"
---> Running in 10269cda8a7a
Removing intermediate container 10269cda8a7a
---> dbad64601303
Step 3/20 : ARG asciidoctor_version=2.0.10
---> Running in 1c24fb9efced
Removing intermediate container 1c24fb9efced
---> bd4f9d11ae4b
Step 4/20 : ARG asciidoctor_confluence_version=0.0.2
---> Running in 5553be42aa7f
Removing intermediate container 5553be42aa7f
---> f0881a2c968c
Step 5/20 : ARG asciidoctor_pdf_version=1.5.0.alpha.18
---> Running in 856d7bd91a76
Removing intermediate container 856d7bd91a76
---> 76648b84c9c5
Step 6/20 : ARG asciidoctor_diagram_version=1.5.18
---> Running in fe4ee6acc363
Removing intermediate container fe4ee6acc363
---> c46c44c374ce
Step 7/20 : ARG asciidoctor_epub3_version=1.5.0.alpha.9
---> Running in 4a57f81e6298
Removing intermediate container 4a57f81e6298
---> 5f57f3c2f0b0
Step 8/20 : ARG asciidoctor_mathematical_version=0.3.1
---> Running in 67a331935dd8
Removing intermediate container 67a331935dd8
---> 6af43b6af2ad
Step 9/20 : ARG asciidoctor_revealjs_version=2.0.0
---> Running in 0d43313374cb
Removing intermediate container 0d43313374cb
---> 2bc0ac1acb67
Step 10/20 : ENV ASCIIDOCTOR_VERSION=${asciidoctor_version} ASCIIDOCTOR_CONFLUENCE_VERSION=${asciidoctor_confluence_version} ASCIIDOCTOR_PDF_VERSION=${asciidoctor_pdf_version} ASCIIDOCTOR_DIAGRAM_VERSION=${asciidoctor_diagram_version} ASCIIDOCTOR_EPUB3_VERSION=${asciidoctor_epub3_version} ASCIIDOCTOR_MATHEMATICAL_VERSION=${asciidoctor_mathematical_version} ASCIIDOCTOR_REVEALJS_VERSION=${asciidoctor_revealjs_version}
---> Running in 39c0af38d3cb
Removing intermediate container 39c0af38d3cb
---> 25e956f5821e
Step 11/20 : RUN apk add --no-cache bash curl ca-certificates findutils font-bakoma-ttf graphviz inotify-tools make openjdk8-jre py2-pillow py-setuptools python2 ruby ruby-mathematical ttf-liberation unzip which
---> Running in 74886d7bf3e3
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/93) Installing ncurses-terminfo-base (6.1_p20190105-r0)
(2/93) Installing ncurses-terminfo (6.1_p20190105-r0)
(3/93) Installing ncurses-libs (6.1_p20190105-r0)
(4/93) Installing readline (7.0.003-r1)
(5/93) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(6/93) Installing ca-certificates (20190108-r0)
(7/93) Installing nghttp2-libs (1.35.1-r0)
(8/93) Installing libssh2 (1.8.2-r0)
(9/93) Installing libcurl (7.64.0-r2)
(10/93) Installing curl (7.64.0-r2)
(11/93) Installing findutils (4.6.0-r1)
(12/93) Installing expat (2.2.7-r0)
(13/93) Installing libbz2 (1.0.6-r7)
(14/93) Installing libpng (1.6.37-r0)
(15/93) Installing freetype (2.9.1-r2)
(16/93) Installing libuuid (2.33-r0)
(17/93) Installing fontconfig (2.13.1-r0)
(18/93) Installing font-bakoma-ttf (1-r0)
(19/93) Installing libxau (1.0.8-r3)
(20/93) Installing libbsd (0.8.6-r2)
(21/93) Installing libxdmcp (1.1.2-r5)
(22/93) Installing libxcb (1.13-r2)
(23/93) Installing libx11 (1.6.7-r0)
(24/93) Installing libxext (1.3.3-r3)
(25/93) Installing libxrender (0.9.10-r3)
(26/93) Installing pixman (0.34.0-r6)
(27/93) Installing cairo (1.16.0-r1)
(28/93) Installing libgcc (8.3.0-r0)
(29/93) Installing libffi (3.2.1-r6)
(30/93) Installing libintl (0.19.8.1-r4)
(31/93) Installing libblkid (2.33-r0)
(32/93) Installing libmount (2.33-r0)
(33/93) Installing pcre (8.42-r1)
(34/93) Installing glib (2.58.1-r3)
(35/93) Installing libltdl (2.4.6-r5)
(36/93) Installing libxft (2.3.2-r3)
(37/93) Installing fribidi (1.0.5-r0)
(38/93) Installing graphite2 (1.3.12-r1)
(39/93) Installing harfbuzz (2.2.0-r0)
(40/93) Installing pango (1.42.4-r0)
(41/93) Installing libstdc++ (8.3.0-r0)
(42/93) Installing graphviz (2.40.1-r1)
(43/93) Installing inotify-tools (3.20.1-r1)
(44/93) Installing make (4.2.1-r2)
(45/93) Installing p11-kit (0.23.14-r0)
(46/93) Installing libtasn1 (4.14-r0)
(47/93) Installing p11-kit-trust (0.23.14-r0)
(48/93) Installing java-cacerts (1.0-r0)
(49/93) Installing nspr (4.20-r0)
(50/93) Installing sqlite-libs (3.28.0-r0)
(51/93) Installing nss (3.41-r0)
(52/93) Installing libxcomposite (0.4.4-r2)
(53/93) Installing libxi (1.7.9-r2)
(54/93) Installing libxtst (1.2.3-r2)
(55/93) Installing alsa-lib (1.1.8-r0)
(56/93) Installing giflib (5.1.4-r2)
(57/93) Installing libjpeg-turbo (1.5.3-r5)
(58/93) Installing openjdk8-jre-lib (8.212.04-r0)
(59/93) Installing java-common (0.1-r0)
(60/93) Installing krb5-conf (1.0-r1)
(61/93) Installing libcom_err (1.44.5-r0)
(62/93) Installing keyutils-libs (1.6-r0)
(63/93) Installing libverto (0.3.0-r1)
(64/93) Installing krb5-libs (1.15.5-r0)
(65/93) Installing lcms2 (2.9-r1)
(66/93) Installing pcsc-lite-libs (1.8.24-r1)
(67/93) Installing lksctp-tools (1.0.17-r0)
(68/93) Installing openjdk8-jre-base (8.212.04-r0)
(69/93) Installing openjdk8-jre (8.212.04-r0)
(70/93) Installing gdbm (1.13-r1)
(71/93) Installing python2 (2.7.16-r1)
(72/93) Installing py-setuptools (40.6.3-r0)
(73/93) Installing py2-olefile (0.43-r2)
(74/93) Installing openjpeg (2.3.0-r3)
(75/93) Installing tiff (4.0.10-r0)
(76/93) Installing libwebp (1.0.1-r0)
(77/93) Installing py2-pillow (5.4.1-r0)
(78/93) Installing gmp (6.1.2-r1)
(79/93) Installing yaml (0.2.1-r0)
(80/93) Installing ruby-libs (2.5.5-r0)
(81/93) Installing ruby (2.5.5-r0)
(82/93) Installing ruby-concurrent-ruby (1.0.5-r1)
(83/93) Installing ruby-i18n (1.5.2-r0)
(84/93) Installing ruby-enum (0.7.2-r1)
(85/93) Installing libxml2 (2.9.9-r1)
(86/93) Installing shared-mime-info (1.10-r0)
(87/93) Installing gdk-pixbuf (2.36.11-r2)
(88/93) Installing lasem (0.5.0-r2)
(89/93) Installing mtex2mml-libs (1.3.1-r1)
(90/93) Installing ruby-mathematical (1.6.12-r0)
(91/93) Installing ttf-liberation (2.00.1-r1)
(92/93) Installing unzip (6.0-r4)
(93/93) Installing which (2.21-r1)
Executing busybox-1.29.3-r10.trigger
Executing ca-certificates-20190108-r0.trigger
Executing fontconfig-2.13.1-r0.trigger
Executing glib-2.58.1-r3.trigger
Executing graphviz-2.40.1-r1.trigger
Executing java-common-0.1-r0.trigger
Executing shared-mime-info-1.10-r0.trigger
Executing gdk-pixbuf-2.36.11-r2.trigger
OK: 185 MiB in 107 packages
Removing intermediate container 74886d7bf3e3
---> cecddc359a62
Step 12/20 : RUN apk add --no-cache --virtual .rubymakedepends build-base libxml2-dev ruby-dev && gem install --no-document "asciidoctor:${ASCIIDOCTOR_VERSION}" "asciidoctor-confluence:${ASCIIDOCTOR_CONFLUENCE_VERSION}" "asciidoctor-diagram:${ASCIIDOCTOR_DIAGRAM_VERSION}" "asciidoctor-epub3:${ASCIIDOCTOR_EPUB3_VERSION}" "asciidoctor-mathematical:${ASCIIDOCTOR_MATHEMATICAL_VERSION}" asciimath "asciidoctor-pdf:${ASCIIDOCTOR_PDF_VERSION}" "asciidoctor-revealjs:${ASCIIDOCTOR_REVEALJS_VERSION}" coderay epubcheck:3.0.1 haml kindlegen:3.0.3 pygments.rb rake rouge slim thread_safe tilt && apk del -r --no-cache .rubymakedepends
---> Running in 8418722889c7
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/23) Upgrading musl (1.1.20-r4 -> 1.1.20-r5)
(2/23) Installing binutils (2.31.1-r2)
(3/23) Installing libmagic (5.36-r0)
(4/23) Installing file (5.36-r0)
(5/23) Installing isl (0.18-r0)
(6/23) Installing libgomp (8.3.0-r0)
(7/23) Installing libatomic (8.3.0-r0)
(8/23) Installing mpfr3 (3.1.5-r1)
(9/23) Installing mpc1 (1.0.3-r1)
(10/23) Installing gcc (8.3.0-r0)
(11/23) Installing musl-dev (1.1.20-r5)
(12/23) Installing libc-dev (0.7.1-r0)
(13/23) Installing g++ (8.3.0-r0)
(14/23) Installing fortify-headers (1.0-r0)
(15/23) Installing build-base (0.5-r1)
(16/23) Installing pkgconf (1.6.0-r0)
(17/23) Installing zlib-dev (1.2.11-r1)
(18/23) Installing libxml2-dev (2.9.9-r1)
(19/23) Installing libgmpxx (6.1.2-r1)
(20/23) Installing gmp-dev (6.1.2-r1)
(21/23) Installing ruby-dev (2.5.5-r0)
(22/23) Installing .rubymakedepends (0)
(23/23) Upgrading musl-utils (1.1.20-r4 -> 1.1.20-r5)
Executing busybox-1.29.3-r10.trigger
OK: 350 MiB in 128 packages
Successfully installed asciidoctor-2.0.10
Successfully installed asciidoctor-1.5.8
Successfully installed multipart-post-2.1.1
Successfully installed faraday-0.9.2
Building native extensions. This could take a while...
Successfully installed json-1.8.6
Successfully installed asciidoctor-confluence-0.0.2
Successfully installed asciidoctor-diagram-1.5.18
Successfully installed mini_portile2-2.4.0
Building native extensions. This could take a while...
Successfully installed nokogiri-1.10.3
Successfully installed rubyzip-1.2.3
Successfully installed gepub-1.0.4
Successfully installed thread_safe-0.3.6
Successfully installed concurrent-ruby-1.1.5
Successfully installed asciidoctor-epub3-1.5.0.alpha.9
Successfully installed asciidoctor-mathematical-0.3.1
Successfully installed asciimath-1.0.8
Successfully installed pdf-core-0.7.0
Successfully installed ttfunk-1.5.1
Successfully installed prawn-2.2.2
Successfully installed prawn-table-0.2.2
Successfully installed Ascii85-1.0.3
Successfully installed ruby-rc4-0.1.5
Successfully installed hashery-2.1.2
Successfully installed afm-0.2.2
Successfully installed pdf-reader-2.2.1
Successfully installed prawn-templates-0.1.1
Successfully installed public_suffix-3.1.1
Successfully installed addressable-2.6.0
Successfully installed css_parser-1.7.0
Successfully installed prawn-svg-0.29.1
Successfully installed prawn-icon-2.3.0
Successfully installed safe_yaml-1.0.5
Successfully installed polyglot-0.3.5
Successfully installed treetop-1.5.3
Successfully installed asciidoctor-pdf-1.5.0.alpha.18
Successfully installed asciidoctor-revealjs-2.0.0
Successfully installed coderay-1.1.2
Successfully installed epubcheck-3.0.1
Successfully installed temple-0.8.1
Successfully installed tilt-2.0.9
Successfully installed haml-5.1.2
Successfully installed rake-12.3.3
Building native extensions. This could take a while...
Successfully installed kindlegen-3.0.3
Successfully installed multi_json-1.13.1
Successfully installed pygments.rb-1.2.1
Successfully installed rake-12.3.3
Successfully installed rouge-3.8.0
Successfully installed slim-4.0.1
Successfully installed thread_safe-0.3.6
Successfully installed tilt-2.0.9
50 gems installed
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/21) Purging .rubymakedepends (0)
(2/21) Purging build-base (0.5-r1)
(3/21) Purging file (5.36-r0)
(4/21) Purging g++ (8.3.0-r0)
(5/21) Purging gcc (8.3.0-r0)
(6/21) Purging binutils (2.31.1-r2)
(7/21) Purging libatomic (8.3.0-r0)
(8/21) Purging libgomp (8.3.0-r0)
(9/21) Purging libc-dev (0.7.1-r0)
(10/21) Purging musl-dev (1.1.20-r5)
(11/21) Purging fortify-headers (1.0-r0)
(12/21) Purging libxml2-dev (2.9.9-r1)
(13/21) Purging zlib-dev (1.2.11-r1)
(14/21) Purging ruby-dev (2.5.5-r0)
(15/21) Purging gmp-dev (6.1.2-r1)
(16/21) Purging libgmpxx (6.1.2-r1)
(17/21) Purging libmagic (5.36-r0)
(18/21) Purging isl (0.18-r0)
(19/21) Purging mpc1 (1.0.3-r1)
(20/21) Purging mpfr3 (3.1.5-r1)
(21/21) Purging pkgconf (1.6.0-r0)
Executing busybox-1.29.3-r10.trigger
OK: 185 MiB in 107 packages
Removing intermediate container 8418722889c7
---> dfd8bfae01a3
Step 13/20 : RUN apk add --no-cache --virtual .pythonmakedepends build-base python2-dev py2-pip && pip install --upgrade pip && pip install --no-cache-dir actdiag 'blockdiag[pdf]' nwdiag Pygments seqdiag && apk del -r --no-cache .pythonmakedepends
---> Running in 066507e4a410
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/18) Installing binutils (2.31.1-r2)
(2/18) Installing libmagic (5.36-r0)
(3/18) Installing file (5.36-r0)
(4/18) Installing isl (0.18-r0)
(5/18) Installing libgomp (8.3.0-r0)
(6/18) Installing libatomic (8.3.0-r0)
(7/18) Installing mpfr3 (3.1.5-r1)
(8/18) Installing mpc1 (1.0.3-r1)
(9/18) Installing gcc (8.3.0-r0)
(10/18) Installing musl-dev (1.1.20-r5)
(11/18) Installing libc-dev (0.7.1-r0)
(12/18) Installing g++ (8.3.0-r0)
(13/18) Installing fortify-headers (1.0-r0)
(14/18) Installing build-base (0.5-r1)
(15/18) Installing pkgconf (1.6.0-r0)
(16/18) Installing python2-dev (2.7.16-r1)
(17/18) Installing py2-pip (18.1-r0)
(18/18) Installing .pythonmakedepends (0)
Executing busybox-1.29.3-r10.trigger
OK: 359 MiB in 125 packages
Collecting pip
Downloading https://files.pythonhosted.org/packages/62/ca/94d32a6516ed197a491d17d46595ce58a83cbb2fca280414e57cd86b84dc/pip-19.2.1-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Successfully installed pip-19.2.1
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting actdiag
Downloading https://files.pythonhosted.org/packages/39/13/4b7b1d738cea26fbe80d1a5546628115d10b0f02880be2b724cc8004f5db/actdiag-0.5.4-py2.py3-none-any.whl (2.6MB)
Collecting blockdiag[pdf]
Downloading https://files.pythonhosted.org/packages/e6/37/a3a4d09c8cbe16b303ed75fd07381e5460b37a25fe247645f2251477887a/blockdiag-1.5.4-py2.py3-none-any.whl (2.7MB)
Collecting nwdiag
Downloading https://files.pythonhosted.org/packages/8e/06/42e672cc4b0efddd40f0c0de412dda7c29f8a971afb54b3d77579c28aa29/nwdiag-1.0.4-py2.py3-none-any.whl (7.7MB)
Collecting Pygments
Downloading https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl (883kB)
Collecting seqdiag
Downloading https://files.pythonhosted.org/packages/0d/45/c4afb6fb9bb7c16e28d4bedaab15195792fd49448edde0f202e850f15764/seqdiag-0.9.6-py2.py3-none-any.whl (2.6MB)
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from actdiag) (40.6.3.post20190116)
Collecting funcparserlib (from blockdiag[pdf])
Downloading https://files.pythonhosted.org/packages/cb/f7/b4a59c3ccf67c0082546eaeb454da1a6610e924d2e7a2a21f337ecae7b40/funcparserlib-0.3.6.tar.gz
Requirement already satisfied: Pillow in /usr/lib/python2.7/site-packages (from blockdiag[pdf]) (5.4.1)
Collecting webcolors (from blockdiag[pdf])
Downloading https://files.pythonhosted.org/packages/b0/d8/cfb0da8bcbe9fd0cbeaf24d320f0353724de4f14b720338d9fd38df6c92d/webcolors-1.9.1-py2.py3-none-any.whl
Collecting reportlab; extra == "pdf" (from blockdiag[pdf])
Downloading https://files.pythonhosted.org/packages/41/93/c57ed3f33daabaad2146504d888ea77c44d35fa57bf844342a70f4593007/reportlab-3.5.23.tar.gz (2.9MB)
Collecting six (from webcolors->blockdiag[pdf])
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Installing collected packages: funcparserlib, six, webcolors, reportlab, blockdiag, actdiag, nwdiag, Pygments, seqdiag
Running setup.py install for funcparserlib: started
Running setup.py install for funcparserlib: finished with status 'done'
Running setup.py install for reportlab: started
Running setup.py install for reportlab: finished with status 'done'
Successfully installed Pygments-2.4.2 actdiag-0.5.4 blockdiag-1.5.4 funcparserlib-0.3.6 nwdiag-1.0.4 reportlab-3.5.23 seqdiag-0.9.6 six-1.12.0 webcolors-1.9.1
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/18) Purging .pythonmakedepends (0)
(2/18) Purging build-base (0.5-r1)
(3/18) Purging file (5.36-r0)
(4/18) Purging g++ (8.3.0-r0)
(5/18) Purging gcc (8.3.0-r0)
(6/18) Purging binutils (2.31.1-r2)
(7/18) Purging libatomic (8.3.0-r0)
(8/18) Purging libgomp (8.3.0-r0)
(9/18) Purging libc-dev (0.7.1-r0)
(10/18) Purging musl-dev (1.1.20-r5)
(11/18) Purging fortify-headers (1.0-r0)
(12/18) Purging python2-dev (2.7.16-r1)
(13/18) Purging py2-pip (18.1-r0)
(14/18) Purging libmagic (5.36-r0)
(15/18) Purging isl (0.18-r0)
(16/18) Purging mpc1 (1.0.3-r1)
(17/18) Purging mpfr3 (3.1.5-r1)
(18/18) Purging pkgconf (1.6.0-r0)
Executing busybox-1.29.3-r10.trigger
OK: 185 MiB in 107 packages
Removing intermediate container 066507e4a410
---> eba303c0e0c6
Step 14/20 : WORKDIR /documents
---> Running in 2d834362e8e1
Removing intermediate container 2d834362e8e1
---> 300b7823c473
Step 15/20 : VOLUME /documents
---> Running in b119a17eee55
Removing intermediate container b119a17eee55
---> ea9877833d4f
Step 16/20 : CMD ["/bin/bash"]
---> Running in 918b1b7c1e35
Removing intermediate container 918b1b7c1e35
---> 3c8e987543a5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment