Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo docker image build -t alpine-pandas-test .
- Sending build context to Docker daemon 4.096kB
- Step 1/6 : FROM alpine:3.7
- ---> bc8fb6e6e49d
- Step 2/6 : ENV PACKAGES=" dumb-init musl libc6-compat linux-headers build-base bash git ca-certificates freetype libgfortran libgcc libstdc++ openblas tcl tk libssl1.0 "
- ---> Using cache
- ---> 800200e1e89e
- Step 3/6 : ENV PYTHON_PACKAGES=" numpy matplotlib scipy scikit-learn nltk "
- ---> Using cache
- ---> 64b32e468a01
- Step 4/6 : RUN apk add --no-cache --virtual build-dependencies python3 && apk add --virtual build-runtime build-base python3-dev openblas-dev freetype-dev pkgconfig gfortran && ln -s /usr/include/locale.h /usr/include/xlocale.h && python3 -m ensurepip && rm -r /usr/lib/python*/ensurepip && pip3 install --upgrade pip setuptools && ln -sf /usr/bin/python3 /usr/bin/python && ln -sf pip3 /usr/bin/pip && rm -r /root/.cache && pip install --no-cache-dir $PYTHON_PACKAGES && pip3 install 'pandas<0.21.0' && apk add --no-cache --virtual build-dependencies $PACKAGES && rm -rf /var/cache/apk/*
- ---> Running in 3adc01a3fa68
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
- (1/12) Installing libbz2 (1.0.6-r6)
- (2/12) Installing expat (2.2.5-r0)
- (3/12) Installing libffi (3.2.1-r4)
- (4/12) Installing gdbm (1.13-r1)
- (5/12) Installing xz-libs (5.2.3-r1)
- (6/12) Installing ncurses-terminfo-base (6.0_p20171125-r1)
- (7/12) Installing ncurses-terminfo (6.0_p20171125-r1)
- (8/12) Installing ncurses-libs (6.0_p20171125-r1)
- (9/12) Installing readline (7.0.003-r0)
- (10/12) Installing sqlite-libs (3.25.3-r0)
- (11/12) Installing python3 (3.6.5-r0)
- (12/12) Installing build-dependencies (0)
- Executing busybox-1.27.2-r11.trigger
- OK: 66 MiB in 25 packages
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
- (1/31) Installing binutils-libs (2.30-r1)
- (2/31) Installing binutils (2.30-r1)
- (3/31) Installing gmp (6.1.2-r1)
- (4/31) Installing isl (0.18-r0)
- (5/31) Installing libgomp (6.4.0-r5)
- (6/31) Installing libatomic (6.4.0-r5)
- (7/31) Installing pkgconf (1.3.10-r0)
- (8/31) Installing libgcc (6.4.0-r5)
- (9/31) Installing mpfr3 (3.1.5-r1)
- (10/31) Installing mpc1 (1.0.3-r1)
- (11/31) Installing libstdc++ (6.4.0-r5)
- (12/31) Installing gcc (6.4.0-r5)
- (13/31) Installing musl-dev (1.1.18-r3)
- (14/31) Installing libc-dev (0.7.1-r0)
- (15/31) Installing g++ (6.4.0-r5)
- (16/31) Installing make (4.2.1-r0)
- (17/31) Installing fortify-headers (0.9-r0)
- (18/31) Installing build-base (0.5-r0)
- (19/31) Installing python3-dev (3.6.5-r0)
- (20/31) Installing libquadmath (6.4.0-r5)
- (21/31) Installing libgfortran (6.4.0-r5)
- (22/31) Installing gfortran (6.4.0-r5)
- (23/31) Installing openblas-ilp64 (0.2.19-r3)
- (24/31) Installing openblas (0.2.19-r3)
- (25/31) Installing openblas-dev (0.2.19-r3)
- (26/31) Installing libpng (1.6.34-r1)
- (27/31) Installing freetype (2.8.1-r4)
- (28/31) Installing zlib-dev (1.2.11-r1)
- (29/31) Installing libpng-dev (1.6.34-r1)
- (30/31) Installing freetype-dev (2.8.1-r4)
- (31/31) Installing build-runtime (0)
- Executing busybox-1.27.2-r11.trigger
- OK: 446 MiB in 56 packages
- Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages
- Requirement already satisfied: pip in /usr/lib/python3.6/site-packages
- Collecting pip
- Downloading https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl (1.4MB)
- Collecting setuptools
- Downloading https://files.pythonhosted.org/packages/d1/6a/4b2fcefd2ea0868810e92d519dacac1ddc64a2e53ba9e3422c3b62b378a6/setuptools-40.8.0-py2.py3-none-any.whl (575kB)
- Installing collected packages: pip, setuptools
- Found existing installation: pip 9.0.3
- Uninstalling pip-9.0.3:
- Successfully uninstalled pip-9.0.3
- Found existing installation: setuptools 39.0.1
- Uninstalling setuptools-39.0.1:
- Successfully uninstalled setuptools-39.0.1
- Successfully installed pip-19.0.3 setuptools-40.8.0
- Collecting numpy
- Downloading https://files.pythonhosted.org/packages/cf/8d/6345b4f32b37945fedc1e027e83970005fc9c699068d2f566b82826515f2/numpy-1.16.2.zip (5.1MB)
- Collecting matplotlib
- Downloading https://files.pythonhosted.org/packages/89/0c/653aec68e9cfb775c4fbae8f71011206e5e7fe4d60fcf01ea1a9d3bc957f/matplotlib-3.0.2.tar.gz (36.5MB)
- Collecting scipy
- Downloading https://files.pythonhosted.org/packages/a9/b4/5598a706697d1e2929eaf7fe68898ef4bea76e4950b9efbe1ef396b8813a/scipy-1.2.1.tar.gz (23.1MB)
- Collecting scikit-learn
- Downloading https://files.pythonhosted.org/packages/49/0e/8312ac2d7f38537361b943c8cde4b16dadcc9389760bb855323b67bac091/scikit-learn-0.20.2.tar.gz (10.3MB)
- Collecting nltk
- Downloading https://files.pythonhosted.org/packages/6f/ed/9c755d357d33bc1931e157f537721efb5b88d2c583fe593cc09603076cc3/nltk-3.4.zip (1.4MB)
- Collecting cycler>=0.10 (from matplotlib)
- Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
- Collecting kiwisolver>=1.0.1 (from matplotlib)
- Downloading https://files.pythonhosted.org/packages/31/60/494fcce70d60a598c32ee00e71542e52e27c978e5f8219fae0d4ac6e2864/kiwisolver-1.0.1.tar.gz
- Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib)
- Downloading https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.3.1-py2.py3-none-any.whl (61kB)
- Collecting python-dateutil>=2.1 (from matplotlib)
- Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
- Collecting six (from nltk)
- Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
- Collecting singledispatch (from nltk)
- Downloading https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl
- Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from kiwisolver>=1.0.1->matplotlib) (40.8.0)
- Installing collected packages: numpy, six, cycler, kiwisolver, pyparsing, python-dateutil, matplotlib, scipy, scikit-learn, singledispatch, nltk
- Running setup.py install for numpy: started
- Running setup.py install for numpy: finished with status 'done'
- Running setup.py install for kiwisolver: started
- Running setup.py install for kiwisolver: finished with status 'done'
- Running setup.py install for matplotlib: started
- Running setup.py install for matplotlib: finished with status 'done'
- Running setup.py install for scipy: started
- Running setup.py install for scipy: still running...
- Running setup.py install for scipy: still running...
- Running setup.py install for scipy: still running...
- Running setup.py install for scipy: still running...
- Running setup.py install for scipy: still running...
- Running setup.py install for scipy: finished with status 'done'
- Running setup.py install for scikit-learn: started
- Running setup.py install for scikit-learn: still running...
- Running setup.py install for scikit-learn: finished with status 'done'
- Running setup.py install for nltk: started
- Running setup.py install for nltk: finished with status 'done'
- Successfully installed cycler-0.10.0 kiwisolver-1.0.1 matplotlib-3.0.2 nltk-3.4 numpy-1.16.2 pyparsing-2.3.1 python-dateutil-2.8.0 scikit-learn-0.20.2 scipy-1.2.1 singledispatch-3.4.0.3 six-1.12.0
- Collecting pandas<0.21.0
- Downloading https://files.pythonhosted.org/packages/ee/aa/90c06f249cf4408fa75135ad0df7d64c09cf74c9870733862491ed5f3a50/pandas-0.20.3.tar.gz (10.4MB)
- Requirement already satisfied: python-dateutil>=2 in /usr/lib/python3.6/site-packages (from pandas<0.21.0) (2.8.0)
- Collecting pytz>=2011k (from pandas<0.21.0)
- Downloading https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl (510kB)
- Requirement already satisfied: numpy>=1.7.0 in /usr/lib/python3.6/site-packages (from pandas<0.21.0) (1.16.2)
- Requirement already satisfied: six>=1.5 in /usr/lib/python3.6/site-packages (from python-dateutil>=2->pandas<0.21.0) (1.12.0)
- Installing collected packages: pytz, pandas
- Running setup.py install for pandas: started
- Running setup.py install for pandas: still running...
- Running setup.py install for pandas: still running...
- Running setup.py install for pandas: still running...
- Running setup.py install for pandas: finished with status 'done'
- Successfully installed pandas-0.20.3 pytz-2018.9
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
- fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
- (1/21) Installing dumb-init (1.2.0-r0)
- (2/21) Installing libc6-compat (1.1.18-r3)
- (3/21) Installing linux-headers (4.4.6-r2)
- (4/21) Installing bash (4.4.19-r1)
- Executing bash-4.4.19-r1.post-install
- (5/21) Installing ca-certificates (20171114-r0)
- (6/21) Installing libssh2 (1.8.0-r2)
- (7/21) Installing libcurl (7.61.1-r1)
- (8/21) Installing pcre2 (10.30-r0)
- (9/21) Installing git (2.15.3-r0)
- (10/21) Installing tcl (8.6.7-r0)
- (11/21) Installing libxau (1.0.8-r2)
- (12/21) Installing libbsd (0.8.6-r1)
- (13/21) Installing libxdmcp (1.1.2-r4)
- (14/21) Installing libxcb (1.12-r1)
- (15/21) Installing libx11 (1.6.6-r0)
- (16/21) Installing libxrender (0.9.10-r2)
- (17/21) Installing fontconfig (2.12.6-r0)
- (18/21) Installing libxft (2.3.2-r2)
- (19/21) Installing tk (8.6.6-r1)
- (20/21) Installing libcrypto1.0 (1.0.2q-r0)
- (21/21) Installing libssl1.0 (1.0.2q-r0)
- Executing busybox-1.27.2-r11.trigger
- Executing ca-certificates-20171114-r0.trigger
- OK: 485 MiB in 77 packages
- Removing intermediate container 3adc01a3fa68
- ---> 8a2f3f8cfae6
- Step 5/6 : RUN pip install numpy==1.16.1 scikit-learn==0.20.2 scipy==1.2.1 nltk==3.4 pandas==0.24.1 matplotlib==3.0.2
- ---> Running in 8b1a208f0751
- Collecting numpy==1.16.1
- Downloading https://files.pythonhosted.org/packages/2b/26/07472b0de91851b6656cbc86e2f0d5d3a3128e7580f23295ef58b6862d6c/numpy-1.16.1.zip (5.1MB)
- Requirement already satisfied: scikit-learn==0.20.2 in /usr/lib/python3.6/site-packages (0.20.2)
- Requirement already satisfied: scipy==1.2.1 in /usr/lib/python3.6/site-packages (1.2.1)
- Requirement already satisfied: nltk==3.4 in /usr/lib/python3.6/site-packages (3.4)
- Collecting pandas==0.24.1
- Downloading https://files.pythonhosted.org/packages/81/fd/b1f17f7dc914047cd1df9d6813b944ee446973baafe8106e4458bfb68884/pandas-0.24.1.tar.gz (11.8MB)
- Requirement already satisfied: matplotlib==3.0.2 in /usr/lib/python3.6/site-packages (3.0.2)
- Requirement already satisfied: six in /usr/lib/python3.6/site-packages (from nltk==3.4) (1.12.0)
- Requirement already satisfied: singledispatch in /usr/lib/python3.6/site-packages (from nltk==3.4) (3.4.0.3)
- Requirement already satisfied: python-dateutil>=2.5.0 in /usr/lib/python3.6/site-packages (from pandas==0.24.1) (2.8.0)
- Requirement already satisfied: pytz>=2011k in /usr/lib/python3.6/site-packages (from pandas==0.24.1) (2018.9)
- Requirement already satisfied: cycler>=0.10 in /usr/lib/python3.6/site-packages (from matplotlib==3.0.2) (0.10.0)
- Requirement already satisfied: kiwisolver>=1.0.1 in /usr/lib/python3.6/site-packages (from matplotlib==3.0.2) (1.0.1)
- Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/lib/python3.6/site-packages (from matplotlib==3.0.2) (2.3.1)
- Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from kiwisolver>=1.0.1->matplotlib==3.0.2) (40.8.0)
- Installing collected packages: numpy, pandas
- Found existing installation: numpy 1.16.2
- Uninstalling numpy-1.16.2:
- Successfully uninstalled numpy-1.16.2
- Running setup.py install for numpy: started
- Running setup.py install for numpy: finished with status 'done'
- Found existing installation: pandas 0.20.3
- Uninstalling pandas-0.20.3:
- Successfully uninstalled pandas-0.20.3
- Running setup.py install for pandas: started
- Running setup.py install for pandas: still running...
- Running setup.py install for pandas: still running...
- Running setup.py install for pandas: still running...
- Running setup.py install for pandas: still running...
- Running setup.py install for pandas: finished with status 'done'
- Successfully installed numpy-1.16.1 pandas-0.24.1
- Removing intermediate container 8b1a208f0751
- ---> 93b47dab8bd4
- Step 6/6 : RUN apk del build-runtime
- ---> Running in 893976a2b25f
- WARNING: Ignoring APKINDEX.70c88391.tar.gz: No such file or directory
- WARNING: Ignoring APKINDEX.5022a8a2.tar.gz: No such file or directory
- (1/8) Purging build-runtime (0)
- (2/8) Purging python3-dev (3.6.5-r0)
- (3/8) Purging openblas-dev (0.2.19-r3)
- (4/8) Purging openblas-ilp64 (0.2.19-r3)
- (5/8) Purging freetype-dev (2.8.1-r4)
- (6/8) Purging gfortran (6.4.0-r5)
- (7/8) Purging libpng-dev (1.6.34-r1)
- (8/8) Purging zlib-dev (1.2.11-r1)
- Executing busybox-1.27.2-r11.trigger
- OK: 298 MiB in 69 packages
- Removing intermediate container 893976a2b25f
- ---> 09e2d240a45f
- Successfully built 09e2d240a45f
- Successfully tagged alpine-pandas-test:latest
Add Comment
Please, Sign In to add comment