Skip to content

Instantly share code, notes, and snippets.

@Rub21
Created August 4, 2022 16:41
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 Rub21/321f700562bc24f1171dec0fa7c27671 to your computer and use it in GitHub Desktop.
Save Rub21/321f700562bc24f1171dec0fa7c27671 to your computer and use it in GitHub Desktop.
Sending build context to Docker daemon 853B
Step 1/11 : FROM python:3.7-alpine
---> 04ffff590161
Step 2/11 : RUN apk update && apk add git
---> Running in 511c8c2a2c18
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
v3.16.1-93-g26e44ca6a3 [https://dl-cdn.alpinelinux.org/alpine/v3.16/main]
v3.16.1-93-g26e44ca6a3 [https://dl-cdn.alpinelinux.org/alpine/v3.16/community]
OK: 17034 distinct packages available
(1/5) Installing brotli-libs (1.0.9-r6)
(2/5) Installing nghttp2-libs (1.47.0-r0)
(3/5) Installing libcurl (7.83.1-r2)
(4/5) Installing pcre2 (10.40-r0)
(5/5) Installing git (2.36.2-r0)
Executing busybox-1.35.0-r13.trigger
OK: 27 MiB in 41 packages
Removing intermediate container 511c8c2a2c18
---> 038ea432daf4
Step 3/11 : ENV workdir /usr/src/app
---> Running in 0ae8d2e16c28
Removing intermediate container 0ae8d2e16c28
---> 67f90aa76bb1
Step 4/11 : RUN git clone https://github.com/hotosm/tasking-manager.git $workdir
---> Running in 00397e9a237d
Cloning into '/usr/src/app'...
Updating files: 100% (1065/1065), done.
Removing intermediate container 00397e9a237d
---> 6d455b6feb06
Step 5/11 : RUN cd $workdir && git checkout -f 951039f86938b9cc9d8b6986c4e5f3423a78e4d3
---> Running in 892c512862c0
Note: switching to '951039f86938b9cc9d8b6986c4e5f3423a78e4d3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 951039f8 restart containers automatically
Removing intermediate container 892c512862c0
---> 0e1c1de83d31
Step 6/11 : WORKDIR $workdir
---> Running in 081eda9e1edd
Removing intermediate container 081eda9e1edd
---> c39fcdcaef6e
Step 7/11 : RUN apk update && apk add gcc g++ make musl-dev libffi-dev python3-dev postgresql-dev geos-dev proj-util proj-dev
---> Running in d731d93f94d9
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
v3.16.1-93-g26e44ca6a3 [https://dl-cdn.alpinelinux.org/alpine/v3.16/main]
v3.16.1-93-g26e44ca6a3 [https://dl-cdn.alpinelinux.org/alpine/v3.16/community]
OK: 17034 distinct packages available
(1/57) Upgrading libcrypto1.1 (1.1.1o-r0 -> 1.1.1q-r0)
(2/57) Upgrading libssl1.1 (1.1.1o-r0 -> 1.1.1q-r0)
(3/57) Installing libgcc (11.2.1_git20220219-r2)
(4/57) Installing libstdc++ (11.2.1_git20220219-r2)
(5/57) Installing binutils (2.38-r3)
(6/57) Installing libgomp (11.2.1_git20220219-r2)
(7/57) Installing libatomic (11.2.1_git20220219-r2)
(8/57) Installing gmp (6.2.1-r2)
(9/57) Installing isl22 (0.22-r0)
(10/57) Installing mpfr4 (4.1.0-r0)
(11/57) Installing mpc1 (1.2.1-r0)
(12/57) Installing gcc (11.2.1_git20220219-r2)
(13/57) Installing musl-dev (1.2.3-r0)
(14/57) Installing libc-dev (0.7.2-r3)
(15/57) Installing g++ (11.2.1_git20220219-r2)
(16/57) Installing geos (3.10.2-r0)
(17/57) Installing pkgconf (1.8.0-r0)
(18/57) Installing geos-dev (3.10.2-r0)
(19/57) Installing linux-headers (5.16.7-r1)
(20/57) Installing libffi-dev (3.4.2-r1)
(21/57) Installing make (4.3-r0)
(22/57) Installing libpq (14.4-r1)
(23/57) Installing openssl-dev (1.1.1q-r0)
(24/57) Installing libpq-dev (14.4-r1)
(25/57) Installing libecpg (14.4-r1)
(26/57) Installing libecpg-dev (14.4-r1)
(27/57) Installing libxml2 (2.9.14-r0)
(28/57) Installing llvm13-libs (13.0.1-r2)
(29/57) Installing clang-libs (13.0.1-r1)
(30/57) Installing clang (13.0.1-r1)
(31/57) Installing icu-data-en (71.1-r2)
Executing icu-data-en-71.1-r2.post-install
*
* If you need ICU with non-English locales and legacy charset support, install
* package icu-data-full.
*
(32/57) Installing icu-libs (71.1-r2)
(33/57) Installing icu (71.1-r2)
(34/57) Installing icu-dev (71.1-r2)
(35/57) Installing llvm13 (13.0.1-r2)
(36/57) Installing postgresql14-dev (14.4-r1)
(37/57) Installing nghttp2-dev (1.47.0-r0)
(38/57) Installing zlib-dev (1.2.12-r1)
(39/57) Installing brotli-dev (1.0.9-r6)
(40/57) Installing curl-dev (7.83.1-r2)
(41/57) Installing libjpeg-turbo (2.1.3-r1)
(42/57) Installing libjpeg-turbo-dev (2.1.3-r1)
(43/57) Installing libwebp (1.2.3-r0)
(44/57) Installing libwebp-dev (1.2.3-r0)
(45/57) Installing xz-dev (5.2.5-r1)
(46/57) Installing zstd-libs (1.5.2-r1)
(47/57) Installing zstd-dev (1.5.2-r1)
(48/57) Installing tiff (4.3.0-r1)
(49/57) Installing libtiffxx (4.3.0-r1)
(50/57) Installing tiff-dev (4.3.0-r1)
(51/57) Installing sqlite-dev (3.38.5-r0)
(52/57) Installing proj (9.0.0-r0)
(53/57) Installing proj-dev (9.0.0-r0)
(54/57) Installing proj-util (9.0.0-r0)
(55/57) Installing mpdecimal (2.5.1-r1)
(56/57) Installing python3 (3.10.5-r0)
(57/57) Installing python3-dev (3.10.5-r0)
Executing busybox-1.35.0-r13.trigger
Executing ca-certificates-20211220-r0.trigger
OK: 627 MiB in 96 packages
Removing intermediate container d731d93f94d9
---> 331dd0975638
Step 8/11 : RUN pip install -r requirements.txt
---> Running in 516a59527e57
Collecting alembic==1.4.3
Downloading alembic-1.4.3-py2.py3-none-any.whl (159 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.9/159.9 KB 2.1 MB/s eta 0:00:00
Collecting aniso8601==8.0.0
Downloading aniso8601-8.0.0-py2.py3-none-any.whl (43 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.2/43.2 KB 2.2 MB/s eta 0:00:00
Collecting appdirs==1.4.4
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting apscheduler==3.6.3
Downloading APScheduler-3.6.3-py2.py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.9/58.9 KB 1.9 MB/s eta 0:00:00
Collecting attrs==20.2.0
Downloading attrs-20.2.0-py2.py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 KB 5.2 MB/s eta 0:00:00
Collecting black==20.8b1
Downloading black-20.8b1.tar.gz (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 7.5 MB/s eta 0:00:00
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 metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting bleach==3.2.1
Downloading bleach-3.2.1-py2.py3-none-any.whl (145 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 146.0/146.0 KB 14.4 MB/s eta 0:00:00
Collecting cachetools==4.1.1
Downloading cachetools-4.1.1-py3-none-any.whl (10 kB)
Collecting certifi==2020.6.20
Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.6/156.6 KB 8.6 MB/s eta 0:00:00
Collecting chardet==3.0.4
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 7.7 MB/s eta 0:00:00
Collecting Click==7.1.2
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 KB 4.2 MB/s eta 0:00:00
Collecting coverage==5.3
Downloading coverage-5.3.tar.gz (693 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 693.6/693.6 KB 21.0 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting entrypoints==0.3
Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting flake8==3.8.4
Downloading flake8-3.8.4-py2.py3-none-any.whl (72 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.9/72.9 KB 3.3 MB/s eta 0:00:00
Collecting Flask==1.1.2
Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.6/94.6 KB 5.1 MB/s eta 0:00:00
Collecting Flask-Cors==3.0.9
Downloading Flask_Cors-3.0.9-py2.py3-none-any.whl (14 kB)
Collecting Flask-HTTPAuth==4.1.0
Downloading Flask_HTTPAuth-4.1.0-py2.py3-none-any.whl (5.8 kB)
Collecting Flask-Migrate==2.5.3
Downloading Flask_Migrate-2.5.3-py2.py3-none-any.whl (13 kB)
Collecting Flask-OAuthlib==0.9.4
Downloading Flask-OAuthlib-0.9.4.tar.gz (34 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting Flask-RESTful==0.3.8
Downloading Flask_RESTful-0.3.8-py2.py3-none-any.whl (25 kB)
Collecting Flask-Script==2.0.6
Downloading Flask-Script-2.0.6.tar.gz (43 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.1/43.1 KB 3.2 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting Flask-SQLAlchemy==2.4.4
Downloading Flask_SQLAlchemy-2.4.4-py2.py3-none-any.whl (17 kB)
Collecting flask-swagger==0.2.14
Downloading flask-swagger-0.2.14.tar.gz (8.6 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting gevent==20.9.0
Downloading gevent-20.9.0.tar.gz (5.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.8/5.8 MB 6.8 MB/s eta 0:00:00
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 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [60 lines of output]
Compiling src/gevent/resolver/cares.pyx because it changed.
[1/1] Cythonizing src/gevent/resolver/cares.pyx
Compiling src/gevent/libev/corecext.pyx because it changed.
[1/1] Cythonizing src/gevent/libev/corecext.pyx
Compiling src/gevent/_greenlet_primitives.py because it changed.
[1/1] Cythonizing src/gevent/_greenlet_primitives.py
Compiling src/gevent/_hub_primitives.py because it changed.
[1/1] Cythonizing src/gevent/_hub_primitives.py
Compiling src/gevent/_hub_local.py because it changed.
[1/1] Cythonizing src/gevent/_hub_local.py
Compiling src/gevent/_waiter.py because it changed.
[1/1] Cythonizing src/gevent/_waiter.py
warning: src/gevent/resolver/cares.pyx:38:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: src/gevent/resolver/cares.pyx:40:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: src/gevent/resolver/cares.pyx:41:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: src/gevent/libev/corecext.pyx:325:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: src/gevent/libev/corecext.pyx:783:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: src/gevent/libev/corecext.pyx:785:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: src/gevent/libev/corecext.pyx:787:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: src/gevent/libev/corecext.pyx:791:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: src/gevent/_gevent_cgreenlet.pxd:112:33: Declarations should not be declared inline.
Error compiling Cython file:
------------------------------------------------------------
...
cdef load_traceback
cdef Waiter
cdef wait
cdef iwait
cdef reraise
cpdef GEVENT_CONFIG
^
------------------------------------------------------------
src/gevent/_gevent_cgreenlet.pxd:181:6: Variables cannot be declared with 'cpdef'. Use 'cdef' instead.
Compiling src/gevent/greenlet.py because it changed.
[1/1] Cythonizing src/gevent/greenlet.py
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
main()
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-w50u5h2d/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 178, in get_requires_for_build_wheel
config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-w50u5h2d/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-w50u5h2d/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 282, in run_setup
self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-w50u5h2d/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 174, in run_setup
exec(code, locals())
File "<string>", line 287, in <module>
File "/tmp/pip-install-njzwfnr4/gevent_25d5b3277c5e486cb7bc61414bbff928/_setuputils.py", line 260, in cythonize1
common_utility_include_dir=COMMON_UTILITY_INCLUDE_DIR,
File "/tmp/pip-build-env-w50u5h2d/overlay/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1129, in cythonize
cythonize_one(*args)
File "/tmp/pip-build-env-w50u5h2d/overlay/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1296, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: src/gevent/greenlet.py
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
1 error occurred:
* Status: The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1, Code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment