Skip to content

Instantly share code, notes, and snippets.

@dmulter
Last active January 26, 2019 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmulter/38330962002d28533d7dd7c1a70ee4f5 to your computer and use it in GitHub Desktop.
Save dmulter/38330962002d28533d7dd7c1a70ee4f5 to your computer and use it in GitHub Desktop.
Pull latest base images...
Using default tag: latest
latest: Pulling from library/alpine
Digest: sha256:46e71df1e5191ab8b8034c5189e325258ec44ea739bba1e5645cff83c9048ff1
Status: Image is up to date for alpine:latest
mainline-alpine: Pulling from library/nginx
Digest: sha256:385fbcf0f04621981df6c6f1abd896101eb61a439746ee2921b26abc78f45571
Status: Image is up to date for nginx:mainline-alpine
Build app image...
Sending build context to Docker daemon 102.4kB
Step 1/10 : FROM alpine
---> 3f53bb00af94
Step 2/10 : EXPOSE 8080
---> Using cache
---> 1c7da5956a3b
Step 3/10 : LABEL "com.datadoghq.ad.logs"='[{"source": "api"}]'
---> Using cache
---> 0587cb3de1f0
Step 4/10 : ENV PYTHONUNBUFFERED 1
---> Using cache
---> 70a1e707a06e
Step 5/10 : RUN apk update --no-cache && apk add --no-cache ca-certificates && update-ca-certificates && apk add --no-cache -U python3 python3-dev py3-pip && apk add --no-cache -U g++ make libffi-dev openssl-dev && pip3 install --no-cache-dir --upgrade pip && python3 -V && pip3 -V
---> Running in 9e1ca7c339f2
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
v3.8.2-28-g785c236c3e [http://dl-cdn.alpinelinux.org/alpine/v3.8/main]
v3.8.2-28-g785c236c3e [http://dl-cdn.alpinelinux.org/alpine/v3.8/community]
OK: 9546 distinct packages available
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/1) Installing ca-certificates (20171114-r3)
Executing busybox-1.28.4-r2.trigger
Executing ca-certificates-20171114-r3.trigger
OK: 5 MiB in 14 packages
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/13) Installing libbz2 (1.0.6-r6)
(2/13) Installing expat (2.2.5-r0)
(3/13) Installing libffi (3.2.1-r4)
(4/13) Installing gdbm (1.13-r1)
(5/13) Installing xz-libs (5.2.4-r0)
(6/13) Installing ncurses-terminfo-base (6.1_p20180818-r1)
(7/13) Installing ncurses-terminfo (6.1_p20180818-r1)
(8/13) Installing ncurses-libs (6.1_p20180818-r1)
(9/13) Installing readline (7.0.003-r0)
(10/13) Installing sqlite-libs (3.25.3-r0)
(11/13) Installing python3 (3.6.6-r0)
(12/13) Installing pkgconf (1.5.3-r0)
(13/13) Installing python3-dev (3.6.6-r0)
Executing busybox-1.28.4-r2.trigger
OK: 80 MiB in 27 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/19) Installing libgcc (6.4.0-r9)
(2/19) Installing libstdc++ (6.4.0-r9)
(3/19) Installing binutils (2.30-r5)
(4/19) Installing gmp (6.1.2-r1)
(5/19) Installing isl (0.18-r0)
(6/19) Installing libgomp (6.4.0-r9)
(7/19) Installing libatomic (6.4.0-r9)
(8/19) Installing mpfr3 (3.1.5-r1)
(9/19) Installing mpc1 (1.0.3-r1)
(10/19) Installing gcc (6.4.0-r9)
(11/19) Installing musl-dev (1.1.19-r10)
(12/19) Installing libc-dev (0.7.1-r0)
(13/19) Installing g++ (6.4.0-r9)
(14/19) Installing libffi-dev (3.2.1-r4)
(15/19) Installing make (4.2.1-r2)
(16/19) Installing zlib-dev (1.2.11-r1)
(17/19) Installing libcrypto1.0 (1.0.2q-r0)
(18/19) Installing libssl1.0 (1.0.2q-r0)
(19/19) Installing openssl-dev (1.0.2q-r0)
Executing busybox-1.28.4-r2.trigger
OK: 256 MiB in 46 packages
Collecting pip
Downloading https://files.pythonhosted.org/packages/46/dc/7fd5df840efb3e56c8b4f768793a237ec4ee59891959d6a215d63f727023/pip-19.0.1-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
Found existing installation: pip 10.0.1
Uninstalling pip-10.0.1:
Successfully uninstalled pip-10.0.1
Successfully installed pip-19.0.1
Python 3.6.6
pip 19.0.1 from /usr/lib/python3.6/site-packages/pip (python 3.6)
Removing intermediate container 9e1ca7c339f2
---> 0768b621a6b3
Step 6/10 : COPY requirements.txt /tmp
---> 6a9d5dc165c8
Step 7/10 : RUN pip3 install --no-cache-dir --extra-index-url https://pypi.dev.uaudio.com/ --trusted-host pypi.dev.uaudio.com -r /tmp/requirements.txt
---> Running in 40381d050997
Looking in indexes: https://pypi.org/simple, https://pypi.dev.uaudio.com/
Collecting alembic==1.0.6 (from -r /tmp/requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/50/7a/17bc17b3f5b01ebd3af38d71a15baa33beb241ab280b6ad0977ae24ec208/alembic-1.0.6.tar.gz (1.0MB)
Collecting amqp==2.4.0 (from -r /tmp/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/e3/c3/a3b303cab73a9c3ee699f7229b33e262536204cfa9fe5df5274b1cf3dd4e/amqp-2.4.0-py2.py3-none-any.whl (49kB)
Collecting aniso8601==4.1.0 (from -r /tmp/requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/8c/1d/6fdba7c6e28a53fea0cb13171829fb1812c400eb0d4d9d1de25ec5d81f0f/aniso8601-4.1.0-py2.py3-none-any.whl (40kB)
Collecting anyjson==0.3.3 (from -r /tmp/requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/c3/4d/d4089e1a3dd25b46bebdb55a992b0797cff657b4477bc32ce28038fdecbc/anyjson-0.3.3.tar.gz
Collecting apipkg==1.5 (from -r /tmp/requirements.txt (line 5))
Downloading https://files.pythonhosted.org/packages/67/08/4815a09603fc800209431bec5b8bd2acf2f95abdfb558a44a42507fb94da/apipkg-1.5-py2.py3-none-any.whl
Collecting appdirs==1.4.3 (from -r /tmp/requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
Collecting asn1crypto==0.24.0 (from -r /tmp/requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
Collecting astroid==2.1.0 (from -r /tmp/requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/fc/53/8809bc008bad0300897281a7b320b286dc0e84e836396c0cff6279841e8a/astroid-2.1.0-py3-none-any.whl (176kB)
Collecting atomicwrites==1.2.1 (from -r /tmp/requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/3a/9a/9d878f8d885706e2530402de6417141129a943802c084238914fa6798d97/atomicwrites-1.2.1-py2.py3-none-any.whl
Collecting attrs==18.2.0 (from -r /tmp/requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/3a/e1/5f9023cc983f1a628a8c2fd051ad19e76ff7b142a0faf329336f9a62a514/attrs-18.2.0-py2.py3-none-any.whl
Collecting aws-xray-sdk==0.95 (from -r /tmp/requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/a4/a5/da7887285564f9e0ae5cd25a453cca36e2cd43d8ccc9effde260b4d80904/aws_xray_sdk-0.95-py2.py3-none-any.whl (52kB)
Collecting bcrypt==3.1.6 (from -r /tmp/requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/ce/3a/3d540b9f5ee8d92ce757eebacf167b9deedb8e30aedec69a2a072b2399bb/bcrypt-3.1.6.tar.gz (42kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting billiard==3.5.0.5 (from -r /tmp/requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/8b/b7/c2fe04f2522bb02d044347734eeda3ff5c7a632fa7d0401530a371ba73db/billiard-3.5.0.5.tar.gz (150kB)
Collecting biscuits==0.2.1 (from -r /tmp/requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/a5/41/0849dc7f804da4951dfad945f0ecac19bd297b306cada5735478eb793f35/biscuits-0.2.1.tar.gz (56kB)
Collecting blinker==1.4 (from -r /tmp/requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/1b/51/e2a9f3b757eb802f61dc1f2b09c8c99f6eb01cf06416c0671253536517b6/blinker-1.4.tar.gz (111kB)
Collecting boto==2.49.0 (from -r /tmp/requirements.txt (line 16))
Downloading https://files.pythonhosted.org/packages/23/10/c0b78c27298029e4454a472a1919bde20cb182dab1662cec7f2ca1dcc523/boto-2.49.0-py2.py3-none-any.whl (1.4MB)
Collecting boto3==1.9.83 (from -r /tmp/requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/8f/35/6da51b44a808b5caf05957e9b38f4c4827302120cd1cde2ca3fd712af412/boto3-1.9.83-py2.py3-none-any.whl (128kB)
Collecting botocore==1.12.83 (from -r /tmp/requirements.txt (line 18))
Downloading https://files.pythonhosted.org/packages/2c/f4/745026b1f20d687b14b5ad26b3087121596a81ae055ecb28b6187273978b/botocore-1.12.83-py2.py3-none-any.whl (5.2MB)
Collecting celery==4.1.1 (from -r /tmp/requirements.txt (line 19))
Downloading https://files.pythonhosted.org/packages/99/fa/4049b26bfe71992ecf979acd39b87e55b493608613054089d975418015b7/celery-4.1.1-py2.py3-none-any.whl (394kB)
Collecting certifi==2018.11.29 (from -r /tmp/requirements.txt (line 20))
Downloading https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl (154kB)
Collecting cffi==1.11.5 (from -r /tmp/requirements.txt (line 21))
Downloading https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz (438kB)
Collecting chardet==3.0.4 (from -r /tmp/requirements.txt (line 22))
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting Click==7.0 (from -r /tmp/requirements.txt (line 23))
Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB)
Collecting cookies==2.2.1 (from -r /tmp/requirements.txt (line 24))
Downloading https://files.pythonhosted.org/packages/6a/60/557f84aa2db629e5124aa05408b975b1b5d0e1cec16cde0bfa06aae097d3/cookies-2.2.1-py2.py3-none-any.whl (44kB)
Collecting coverage==4.5.2 (from -r /tmp/requirements.txt (line 25))
Downloading https://files.pythonhosted.org/packages/fb/af/ce7b0fe063ee0142786ee53ad6197979491ce0785567b6d8be751d2069e8/coverage-4.5.2.tar.gz (384kB)
Collecting coverage2clover==1.4.0 (from -r /tmp/requirements.txt (line 26))
Downloading https://files.pythonhosted.org/packages/a9/f1/91625eeeffbbc626c602515f7e4eb724eb405aad9c72e321a2b9fcd780d0/coverage2clover-1.4.0-py3-none-any.whl
Collecting cryptography==2.5 (from -r /tmp/requirements.txt (line 27))
Downloading https://files.pythonhosted.org/packages/69/ed/5e97b7f54237a9e4e6291b6e52173372b7fa45ca730d36ea90b790c0059a/cryptography-2.5.tar.gz (487kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting docker==3.7.0 (from -r /tmp/requirements.txt (line 28))
Downloading https://files.pythonhosted.org/packages/7e/3c/b610f22b170b0f8fe4d8f78974878e116562389f666f99e6549567eb9d87/docker-3.7.0-py2.py3-none-any.whl (133kB)
Collecting docker-pycreds==0.4.0 (from -r /tmp/requirements.txt (line 29))
Downloading https://files.pythonhosted.org/packages/f5/e8/f6bd1eee09314e7e6dee49cbe2c5e22314ccdb38db16c9fc72d2fa80d054/docker_pycreds-0.4.0-py2.py3-none-any.whl
Collecting docutils==0.14 (from -r /tmp/requirements.txt (line 30))
Downloading https://files.pythonhosted.org/packages/36/fa/08e9e6e0e3cbd1d362c3bbee8d01d0aedb2155c4ac112b19ef3cae8eed8d/docutils-0.14-py3-none-any.whl (543kB)
Collecting ecdsa==0.13 (from -r /tmp/requirements.txt (line 31))
Downloading https://files.pythonhosted.org/packages/63/f4/73669d51825516ce8c43b816c0a6b64cd6eb71d08b99820c00792cb42222/ecdsa-0.13-py2.py3-none-any.whl (86kB)
Collecting execnet==1.5.0 (from -r /tmp/requirements.txt (line 32))
Downloading https://files.pythonhosted.org/packages/f9/76/3343e69a2a1602052f587898934e5fea395d22310d39c07955596597227c/execnet-1.5.0-py2.py3-none-any.whl
Collecting Flask==1.0.2 (from -r /tmp/requirements.txt (line 33))
Downloading https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl (91kB)
Collecting Flask-Cors==3.0.7 (from -r /tmp/requirements.txt (line 34))
Downloading https://files.pythonhosted.org/packages/65/cb/683f71ff8daa3aea0a5cbb276074de39f9ab66d3fbb8ad5efb5bb83e90d2/Flask_Cors-3.0.7-py2.py3-none-any.whl
Collecting Flask-JWT==0.3.2 (from -r /tmp/requirements.txt (line 35))
Downloading https://files.pythonhosted.org/packages/9b/8a/5d3b2e593f1fc5c1b464aa1cbf35023a4400a2b53ce6a52801f68d7a1eeb/Flask-JWT-0.3.2.tar.gz
Collecting Flask-Migrate==2.3.1 (from -r /tmp/requirements.txt (line 36))
Downloading https://files.pythonhosted.org/packages/93/f4/aca055d4f4cabb8e6aedf258dfe58100c264bfdf1d236ee821239e9d2b42/Flask_Migrate-2.3.1-py2.py3-none-any.whl
Collecting Flask-Principal==0.4.0 (from -r /tmp/requirements.txt (line 37))
Downloading https://files.pythonhosted.org/packages/14/c7/2531aca6ab7baa3774fde2dfc9c9dd6d5a42576a1013a93701bfdc402fdd/Flask-Principal-0.4.0.tar.gz
Collecting Flask-RESTful==0.3.7 (from -r /tmp/requirements.txt (line 38))
Downloading https://files.pythonhosted.org/packages/17/44/6e490150ee443ca81d5f88b61bb4bbb133d44d75b0b716ebe92489508da4/Flask_RESTful-0.3.7-py2.py3-none-any.whl
Collecting flask-restplus==0.12.1 (from -r /tmp/requirements.txt (line 39))
Downloading https://files.pythonhosted.org/packages/29/65/a928450eed445995fb25f9e4fe1495d2e8d53d9ddcfe1d94a017bed9f74e/flask_restplus-0.12.1-py2.py3-none-any.whl (2.5MB)
Collecting Flask-Script==2.0.6 (from -r /tmp/requirements.txt (line 40))
Downloading https://files.pythonhosted.org/packages/00/a4/cd587b2b19f043b65bf33ceda2f6e4e6cdbd0ce18d01a52b9559781b1da6/Flask-Script-2.0.6.tar.gz (43kB)
Collecting Flask-SQLAlchemy==2.3.2 (from -r /tmp/requirements.txt (line 41))
Downloading https://files.pythonhosted.org/packages/a1/44/294fb7f6bf49cc7224417cd0637018db9fee0729b4fe166e43e2bbb1f1c8/Flask_SQLAlchemy-2.3.2-py2.py3-none-any.whl
Collecting future==0.17.1 (from -r /tmp/requirements.txt (line 42))
Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
Collecting gunicorn==19.9.0 (from -r /tmp/requirements.txt (line 43))
Downloading https://files.pythonhosted.org/packages/8c/da/b8dd8deb741bff556db53902d4706774c8e1e67265f69528c14c003644e6/gunicorn-19.9.0-py2.py3-none-any.whl (112kB)
Collecting idna==2.8 (from -r /tmp/requirements.txt (line 44))
Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
Collecting invoke==1.2.0 (from -r /tmp/requirements.txt (line 45))
Downloading https://files.pythonhosted.org/packages/be/9f/8508712c9cad73ac0c8eeb2c3e51c9ef65136653dda2b512bde64109f023/invoke-1.2.0-py3-none-any.whl (206kB)
Collecting isort==4.3.4 (from -r /tmp/requirements.txt (line 46))
Downloading https://files.pythonhosted.org/packages/1f/2c/22eee714d7199ae0464beda6ad5fedec8fee6a2f7ffd1e8f1840928fe318/isort-4.3.4-py3-none-any.whl (45kB)
Collecting itsdangerous==1.1.0 (from -r /tmp/requirements.txt (line 47))
Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting Jinja2==2.10 (from -r /tmp/requirements.txt (line 48))
Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB)
Collecting jmespath==0.9.3 (from -r /tmp/requirements.txt (line 49))
Downloading https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl
Collecting jsondiff==1.1.1 (from -r /tmp/requirements.txt (line 50))
Downloading https://files.pythonhosted.org/packages/bd/5f/13e28a2f9abeda2ffb3f44f2f809b01b52bc02cdb63816e05b8c9cbbdfc5/jsondiff-1.1.1.tar.gz
Collecting jsonpickle==1.0 (from -r /tmp/requirements.txt (line 51))
Downloading https://files.pythonhosted.org/packages/ca/ce/97404d5aeb58e6155c216825c81b50f6eca8a5345c582317ae48391878f8/jsonpickle-1.0-py2.py3-none-any.whl
Collecting jsonschema==2.6.0 (from -r /tmp/requirements.txt (line 52))
Downloading https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting kombu==4.2.2.post1 (from -r /tmp/requirements.txt (line 53))
Downloading https://files.pythonhosted.org/packages/44/5d/a4162de3033be4b42e59ee5101de92b218a6b0a943de9cbe8bab5c45479a/kombu-4.2.2.post1-py2.py3-none-any.whl (177kB)
Collecting lazy-object-proxy==1.3.1 (from -r /tmp/requirements.txt (line 54))
Downloading https://files.pythonhosted.org/packages/55/08/23c0753599bdec1aec273e322f277c4e875150325f565017f6280549f554/lazy-object-proxy-1.3.1.tar.gz
Collecting Mako==1.0.7 (from -r /tmp/requirements.txt (line 55))
Downloading https://files.pythonhosted.org/packages/eb/f3/67579bb486517c0d49547f9697e36582cd19dafb5df9e687ed8e22de57fa/Mako-1.0.7.tar.gz (564kB)
Collecting MarkupSafe==1.1.0 (from -r /tmp/requirements.txt (line 56))
Downloading https://files.pythonhosted.org/packages/ac/7e/1b4c2e05809a4414ebce0892fe1e32c14ace86ca7d50c70f00979ca9b3a3/MarkupSafe-1.1.0.tar.gz
Collecting mccabe==0.6.1 (from -r /tmp/requirements.txt (line 57))
Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting mock==2.0.0 (from -r /tmp/requirements.txt (line 58))
Downloading https://files.pythonhosted.org/packages/e6/35/f187bdf23be87092bd0f1200d43d23076cee4d0dec109f195173fd3ebc79/mock-2.0.0-py2.py3-none-any.whl (56kB)
Collecting more-itertools==5.0.0 (from -r /tmp/requirements.txt (line 59))
Downloading https://files.pythonhosted.org/packages/a4/a6/42f17d065bda1fac255db13afc94c93dbfb64393eae37c749b4cb0752fc7/more_itertools-5.0.0-py3-none-any.whl (52kB)
Collecting moto==1.3.7 (from -r /tmp/requirements.txt (line 60))
Downloading https://files.pythonhosted.org/packages/57/40/cec89fa5c13108eb1c8de435633f8b7639e0e43fcbcdc8ac52633efeeabe/moto-1.3.7-py2.py3-none-any.whl (552kB)
Collecting packaging==19.0 (from -r /tmp/requirements.txt (line 61))
Downloading https://files.pythonhosted.org/packages/91/32/58bc30e646e55eab8b21abf89e353f59c0cc02c417e42929f4a9546e1b1d/packaging-19.0-py2.py3-none-any.whl
Collecting paramiko==2.4.2 (from -r /tmp/requirements.txt (line 62))
Downloading https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl (193kB)
Collecting pbr==5.1.1 (from -r /tmp/requirements.txt (line 63))
Downloading https://files.pythonhosted.org/packages/f3/04/fddc1c2dd75b256eda4d360024692231a2c19a0c61ad7f4a162407c1ab58/pbr-5.1.1-py2.py3-none-any.whl (106kB)
Collecting pipdeptree==0.13.1 (from -r /tmp/requirements.txt (line 64))
Downloading https://files.pythonhosted.org/packages/68/9f/12dd3d1f7ad3693799908a5626edef4028812205557b2845b8eff99a0154/pipdeptree-0.13.1-py3-none-any.whl
Collecting pluggy==0.8.1 (from -r /tmp/requirements.txt (line 65))
Downloading https://files.pythonhosted.org/packages/2d/60/f58d9e8197f911f9405bf7e02227b43a2acc2c2f1a8cbb1be5ecf6bfd0b8/pluggy-0.8.1-py2.py3-none-any.whl
Collecting py==1.7.0 (from -r /tmp/requirements.txt (line 66))
Downloading https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl (83kB)
Collecting pyaml==18.11.0 (from -r /tmp/requirements.txt (line 67))
Downloading https://files.pythonhosted.org/packages/c5/e1/1523fb1dab744e2c6b1f02446f2139a78726c18c062a8ddd53875abb20f8/pyaml-18.11.0-py2.py3-none-any.whl
Collecting pyasn1==0.4.5 (from -r /tmp/requirements.txt (line 68))
Downloading https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl (73kB)
Collecting pycparser==2.19 (from -r /tmp/requirements.txt (line 69))
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
Collecting pycryptodome==3.7.3 (from -r /tmp/requirements.txt (line 70))
Downloading https://files.pythonhosted.org/packages/c7/ff/1ca71a40eb69c89778396a30d399639d41473b09c36aff2b700d80dd94b9/pycryptodome-3.7.3.tar.gz (9.3MB)
Collecting PyJWT==1.7.1 (from -r /tmp/requirements.txt (line 71))
Downloading https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Collecting pylint==2.2.2 (from -r /tmp/requirements.txt (line 72))
Downloading https://files.pythonhosted.org/packages/a5/06/ecef826f319055e6b231716730d7f9047dd7524ffda224b521d989f085b6/pylint-2.2.2-py3-none-any.whl (750kB)
Collecting PyMySQL==0.9.3 (from -r /tmp/requirements.txt (line 73))
Downloading https://files.pythonhosted.org/packages/ed/39/15045ae46f2a123019aa968dfcba0396c161c20f855f11dea6796bcaae95/PyMySQL-0.9.3-py2.py3-none-any.whl (47kB)
Collecting PyNaCl==1.3.0 (from -r /tmp/requirements.txt (line 74))
Downloading https://files.pythonhosted.org/packages/61/ab/2ac6dea8489fa713e2b4c6c5b549cc962dd4a842b5998d9e80cf8440b7cd/PyNaCl-1.3.0.tar.gz (3.4MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting pyparsing==2.3.1 (from -r /tmp/requirements.txt (line 75))
Downloading https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.3.1-py2.py3-none-any.whl (61kB)
Collecting pytest==4.1.1 (from -r /tmp/requirements.txt (line 76))
Downloading https://files.pythonhosted.org/packages/9e/bf/2974be45c498a0ebc2708bfada25d5d1874ab3315a4e76ce7d38e29724fa/pytest-4.1.1-py2.py3-none-any.whl (216kB)
Collecting pytest-cov==2.6.1 (from -r /tmp/requirements.txt (line 77))
Downloading https://files.pythonhosted.org/packages/7d/b5/92f32674ab954f80499ac73347bfeb815545ea295439c12b0ef3ac8f0975/pytest_cov-2.6.1-py2.py3-none-any.whl
Collecting pytest-flask==0.14.0 (from -r /tmp/requirements.txt (line 78))
Downloading https://files.pythonhosted.org/packages/52/a8/3fab52af3688311921205439e3e543b2b1fcce0e3c8acd2cad8061ecfe4f/pytest_flask-0.14.0-py2.py3-none-any.whl
Collecting pytest-forked==1.0.1 (from -r /tmp/requirements.txt (line 79))
Downloading https://files.pythonhosted.org/packages/b0/2a/99ec2a8a26c0a911f76ec2a9461ff0e0d97b5b7bd3282de57eca947f39fc/pytest_forked-1.0.1-py2.py3-none-any.whl
Collecting pytest-random==0.2 (from -r /tmp/requirements.txt (line 80))
Downloading https://files.pythonhosted.org/packages/9b/90/8aee557c63d0840a2bac5507066f01254a219e00d85a70042c96fd987bc5/pytest-random-0.02.tar.gz
Collecting pytest-xdist==1.26.0 (from -r /tmp/requirements.txt (line 81))
Downloading https://files.pythonhosted.org/packages/72/e6/f07fbf71cd2cc8c5160ef2fb5ce61591dcfe39a2ff747b1add29580553f2/pytest_xdist-1.26.0-py2.py3-none-any.whl
Collecting python-dateutil==2.7.5 (from -r /tmp/requirements.txt (line 82))
Downloading https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl (225kB)
Collecting python-editor==1.0.3 (from -r /tmp/requirements.txt (line 83))
Downloading https://files.pythonhosted.org/packages/65/1e/adf6e000ea5dc909aa420352d6ba37f16434c8a3c2fa030445411a1ed545/python-editor-1.0.3.tar.gz
Collecting python-jose==3.0.1 (from -r /tmp/requirements.txt (line 84))
Downloading https://files.pythonhosted.org/packages/96/da/c0dcc5e7a98a53440b8db3cf9771345fa696754f79e8734ea59123f7d734/python_jose-3.0.1-py2.py3-none-any.whl
Collecting python-json-logger==0.1.10 (from -r /tmp/requirements.txt (line 85))
Downloading https://files.pythonhosted.org/packages/84/2e/8d99d075689d9b57548586bd9f5b286f0634f8e6fdb8db57a7ffdd8f86bf/python_json_logger-0.1.10-py2.py3-none-any.whl
Collecting pytz==2018.9 (from -r /tmp/requirements.txt (line 86))
Downloading https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl (510kB)
Collecting PyYAML==3.13 (from -r /tmp/requirements.txt (line 87))
Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)
Collecting requests==2.21.0 (from -r /tmp/requirements.txt (line 88))
Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)
Collecting responses==0.10.5 (from -r /tmp/requirements.txt (line 89))
Downloading https://files.pythonhosted.org/packages/2f/d8/a77cbd4cb8366ad0e275f2c642b50b401da22a2f5714e003e499fddca106/responses-0.10.5-py2.py3-none-any.whl
Collecting rsa==4.0 (from -r /tmp/requirements.txt (line 90))
Downloading https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl
Collecting s3transfer==0.1.13 (from -r /tmp/requirements.txt (line 91))
Downloading https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl (59kB)
Collecting six==1.12.0 (from -r /tmp/requirements.txt (line 92))
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting SQLAlchemy==1.2.16 (from -r /tmp/requirements.txt (line 93))
Downloading https://files.pythonhosted.org/packages/05/d2/17fb194f4ae83577258ea1d81da3d5d5643f4957fa14fd0261d78d648bf5/SQLAlchemy-1.2.16.tar.gz (5.7MB)
Collecting SQLAlchemy-Utils==0.33.11 (from -r /tmp/requirements.txt (line 94))
Downloading https://files.pythonhosted.org/packages/fe/8b/a68f81076e9a2729675253228f43986914f0510078c86f14f6cd51dd3f01/SQLAlchemy-Utils-0.33.11.tar.gz (128kB)
Collecting sshtunnel==0.1.4 (from -r /tmp/requirements.txt (line 95))
Downloading https://files.pythonhosted.org/packages/bf/8d/385c7e7c90e17934b3102ad2902e224c27a7173a6a57ef4805dcef8043b1/sshtunnel-0.1.4.tar.gz (48kB)
Collecting stringcase==1.2.0 (from -r /tmp/requirements.txt (line 96))
Downloading https://files.pythonhosted.org/packages/f3/1f/1241aa3d66e8dc1612427b17885f5fcd9c9ee3079fc0d28e9a3aeeb36fa3/stringcase-1.2.0.tar.gz
Collecting urllib3==1.24.1 (from -r /tmp/requirements.txt (line 97))
Downloading https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl (118kB)
Collecting vine==1.2.0 (from -r /tmp/requirements.txt (line 98))
Downloading https://files.pythonhosted.org/packages/62/dd/e30f828a39914626d67876b987d6fc47616b64de680cd0f746fc9c8aab47/vine-1.2.0-py2.py3-none-any.whl
Collecting websocket-client==0.54.0 (from -r /tmp/requirements.txt (line 99))
Downloading https://files.pythonhosted.org/packages/26/2d/f749a5c82f6192d77ed061a38e02001afcba55fe8477336d26a950ab17ce/websocket_client-0.54.0-py2.py3-none-any.whl (200kB)
Collecting Werkzeug==0.14.1 (from -r /tmp/requirements.txt (line 100))
Downloading https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
Collecting wrapt==1.11.1 (from -r /tmp/requirements.txt (line 101))
Downloading https://files.pythonhosted.org/packages/67/b2/0f71ca90b0ade7fad27e3d20327c996c6252a2ffe88f50a95bba7434eda9/wrapt-1.11.1.tar.gz
Collecting xmltodict==0.11.0 (from -r /tmp/requirements.txt (line 102))
Downloading https://files.pythonhosted.org/packages/42/a9/7e99652c6bc619d19d58cdd8c47560730eb5825d43a7e25db2e1d776ceb7/xmltodict-0.11.0-py2.py3-none-any.whl
Collecting typed-ast; python_version < "3.7" and implementation_name == "cpython" (from astroid==2.1.0->-r /tmp/requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/00/be/c3769a5d6a179c42eba04186dc7efeb165edf92f7b1582ccfe81cb17d7f9/typed-ast-1.2.0.tar.gz (202kB)
Requirement already satisfied: pip>=6.0.0 in /usr/lib/python3.6/site-packages (from pipdeptree==0.13.1->-r /tmp/requirements.txt (line 64)) (19.0.1)
Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from pytest==4.1.1->-r /tmp/requirements.txt (line 76)) (39.0.1)
Exception:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 176, in main
status = self.run(options, args)
File "/usr/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 346, in run
session=session, autobuilding=True
File "/usr/lib/python3.6/site-packages/pip/_internal/wheel.py", line 886, in build
assert have_directory_for_build
AssertionError
The command '/bin/sh -c pip3 install --no-cache-dir --extra-index-url https://pypi.dev.uaudio.com/ --trusted-host pypi.dev.uaudio.com -r /tmp/requirements.txt' returned a non-zero code: 2
App image build failed!
@dmulter
Copy link
Author

dmulter commented Jan 23, 2019

Note that the build is performed via:

docker pull alpine && docker pull nginx:mainline-alpine
tar -X .tarignore -czh . | docker build -t api-hardware-dlm -

@ixxie
Copy link

ixxie commented Jan 24, 2019

I'm having the same issue with a different alpine-based image, also while installing a Python dependency. It only started appearing this week.

@thomasvt1
Copy link

I too have the same issue, also other docker container

@justcallmelarry
Copy link

There seems to be an issue with pip 19.0 and --no-cache-dir. I am having the same issues but it goes through when removing this option.

@divick
Copy link

divick commented Jan 24, 2019

I too am facing exact same issue with an alpine-python-3.6 image. Wondering what really happened. Enabling verbose mode too does not help.

@IldarShukubaev
Copy link

I've fixed this issue by freezing PIP version at pip install --upgrade 'pip<19.0'.

@thomasvt1
Copy link

thomasvt1 commented Jan 24, 2019

The issue should be fixedcin pip 19.0.1 according to;

But it still occured, I'm now testing adding --no-use-pep517 as that was recommended in the issue.

@simingy
Copy link

simingy commented Jan 24, 2019

still seeing issue in pip 19.0.1

@kojiromike
Copy link

Downgrading to 18.1 worked around it for me

@thomasvt1
Copy link

Adding --no-use-pep51 as argument works fine for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment