Skip to content

Docker-Image not buildable

Hey nice ui created.

Beside of using the pre-compiled docker images, i've tried to build it own - result is following:

[32;1m$ cd /[0;m
[32;1m$ git clone https://git.ziirish.me/ziirish/burp-ui.git[0;m
Cloning into 'burp-ui'...
[32;1m$ cd burp-ui/[0;m
[32;1m$ docker build -t ${DOCKER_HUB_USERNAME}/burp-ui:latest -f docker/Dockerfile .[0;m
Sending build context to Docker daemon   9.93MB

Step 1/15 : FROM python:3.7-alpine3.10
 ---> f1bb026b263f
Step 2/15 : RUN apk add --no-cache supervisor bash logrotate librsync libressl tzdata nginx 	&& apk add --no-cache --virtual .fetch-deps 		tar 		&& wget -O burp.tar.gz https://github.com/grke/burp/archive/2.2.18.tar.gz 	&& wget -O uthash.tar.gz https://github.com/troydhanson/uthash/archive/v2.1.0.tar.gz 	&& mkdir -p /usr/src/burp /usr/src/uthash 	&& tar -xC /usr/src/burp --strip-components=1 -f burp.tar.gz 	&& tar -xC /usr/src/uthash --strip-components=1 -f uthash.tar.gz 	&& rm burp.tar.gz uthash.tar.gz 		&& apk add --no-cache --virtual .build-deps 		g++ 		libc-dev 		make 		libressl-dev 		zlib-dev 		librsync-dev 		pkgconfig 		yajl-dev 		autoconf 		automake 		libtool 		&& apk del .fetch-deps 		&& cd /usr/src/burp 	&& autoreconf -vif 	&& CPPFLAGS="-I../uthash/src" ./configure 		--prefix=/usr 		--sysconfdir=/etc/burp 		--localstatedir=/var 	&& make -j 	&& make install 	&& make install-configs 		&& runDeps="$( 		scanelf --needed --nobanner --recursive /usr/local 			| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' 			| sort -u 			| xargs -r apk info --installed 			| sort -u 	)" 	&& apk add --virtual .python-rundeps $runDeps 	&& apk del .build-deps 	&& rm -rf /usr/src/burp /usr/src/uthash ~/.cache
 ---> Using cache
 ---> ed1deddb01d1
Step 3/15 : ADD . /burp-ui
 ---> 9276f9599c74
Step 4/15 : ADD docker/docker-alpine/assets/setup/ /app/setup/
 ---> 5b01f2e7f394
Step 5/15 : ADD docker/docker-alpine/assets/config/ /app/setup/config/
 ---> 09a2fcadcaa9
Step 6/15 : ADD docker/docker-alpine/assets/init /app/init
 ---> 00f8f51da4f4
Step 7/15 : RUN chmod 755 /app/init
 ---> Running in cf5cd90d5e57
Removing intermediate container cf5cd90d5e57
 ---> 999a7e6bfeac
Step 8/15 : RUN chmod 755 /app/setup/install
 ---> Running in 75d7f8984ebc
Removing intermediate container 75d7f8984ebc
 ---> ebee739c0220
Step 9/15 : RUN /app/setup/install
 ---> Running in dfb6eed5fb3e
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
(1/41) Installing pkgconf (1.6.1-r1)
(2/41) Upgrading libcrypto1.1 (1.1.1g-r0 -> 1.1.1k-r0)
(3/41) Upgrading libssl1.1 (1.1.1g-r0 -> 1.1.1k-r0)
(4/41) Installing python3 (3.7.10-r0)
(5/41) Installing python3-dev (3.7.10-r0)
(6/41) Installing openssl-dev (1.1.1k-r0)
(7/41) Installing zlib-dev (1.2.11-r1)
(8/41) Installing mariadb-connector-c (3.0.10-r1)
(9/41) Installing mariadb-connector-c-dev (3.0.10-r1)
(10/41) Installing mariadb-common (10.3.27-r0)
(11/41) Installing libaio (0.3.111-r0)
(12/41) Installing libgcc (8.3.0-r0)
(13/41) Installing libstdc++ (8.3.0-r0)
(14/41) Installing mariadb-embedded (10.3.27-r0)
(15/41) Installing mariadb-dev (10.3.27-r0)
(16/41) Installing libressl-dev (2.7.5-r0)
(17/41) Installing linux-headers (4.19.36-r0)
(18/41) Installing libffi-dev (3.2.1-r6)
(19/41) Installing nghttp2-libs (1.39.2-r1)
(20/41) Installing libcurl (7.66.0-r3)
(21/41) Installing pcre2 (10.33-r0)
(22/41) Installing git (2.22.5-r0)
(23/41) Installing binutils (2.32-r1)
(24/41) Installing gmp (6.1.2-r1)
(25/41) Installing isl (0.18-r0)
(26/41) Installing libgomp (8.3.0-r0)
(27/41) Installing libatomic (8.3.0-r0)
(28/41) Installing mpfr3 (3.1.5-r1)
(29/41) Installing mpc1 (1.1.0-r0)
(30/41) Installing gcc (8.3.0-r0)
(31/41) Installing musl-dev (1.1.22-r4)
(32/41) Installing libc-dev (0.7.1-r0)
(33/41) Installing db (5.3.28-r1)
(34/41) Installing libsasl (2.1.27-r4)
(35/41) Installing libldap (2.4.48-r2)
(36/41) Installing libpq (11.11-r0)
(37/41) Installing postgresql-libs (11.11-r0)
(38/41) Installing postgresql-dev (11.11-r0)
(39/41) Installing make (4.2.1-r2)
(40/41) Installing .build-deps (20210509.170342)
(41/41) Installing py3-setuptools (40.8.0-r1)
Executing busybox-1.30.1-r3.trigger
Executing ca-certificates-20191127-r0.trigger
OK: 360 MiB in 88 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
OK: 360 MiB in 88 packages
[91mSubmodule 'burpui/static/vendor' (https://git.ziirish.me/ziirish/burp-ui-externals.git) registered for path 'burpui/static/vendor'
[0m[91mCloning into '/burp-ui/burpui/static/vendor'...
[0mSubmodule path 'burpui/static/vendor': checked out '8a343173cd3b7fd07a27579ff291fb144f594a2e'
Collecting trio==0.13.0
  Downloading trio-0.13.0-py3-none-any.whl (320 kB)
Collecting Flask==1.1.1
  Downloading Flask-1.1.1-py2.py3-none-any.whl (94 kB)
Collecting Flask-Login==0.4.1
  Downloading Flask-Login-0.4.1.tar.gz (14 kB)
Collecting Flask-Bower==1.3.0
  Downloading Flask_Bower-1.3.0-py3-none-any.whl (7.6 kB)
Collecting Flask-Babel==1.0.0
  Downloading Flask_Babel-1.0.0-py3-none-any.whl (9.5 kB)
Collecting Flask-WTF==0.14.3
  Downloading Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB)
Collecting flask-restx==0.2.0
  Downloading flask_restx-0.2.0-py2.py3-none-any.whl (2.6 MB)
Collecting Flask-Caching==1.8.0
  Downloading Flask_Caching-1.8.0-py2.py3-none-any.whl (28 kB)
Collecting Flask-Session==0.3.1
  Downloading Flask_Session-0.3.1-py2.py3-none-any.whl (7.5 kB)
Collecting WTForms==2.2.1
  Downloading WTForms-2.2.1-py2.py3-none-any.whl (166 kB)
Collecting arrow==0.14.2
  Downloading arrow-0.14.2-py2.py3-none-any.whl (38 kB)
Collecting pluginbase==1.0.0
  Downloading pluginbase-1.0.0.tar.gz (41 kB)
Collecting tzlocal==2.0.0
  Downloading tzlocal-2.0.0-py2.py3-none-any.whl (15 kB)
Collecting pyOpenSSL==19.1.0
  Downloading pyOpenSSL-19.1.0-py2.py3-none-any.whl (53 kB)
Collecting configobj==5.0.6
  Downloading configobj-5.0.6.tar.gz (33 kB)
Collecting async_generator
  Downloading async_generator-1.10-py3-none-any.whl (18 kB)
Collecting Click==7.1.1
  Downloading click-7.1.1-py2.py3-none-any.whl (82 kB)
Collecting attrs>=19.2.0
  Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting outcome
  Downloading outcome-1.1.0-py2.py3-none-any.whl (9.7 kB)
Collecting sortedcontainers
  Downloading sortedcontainers-2.3.0-py2.py3-none-any.whl (29 kB)
Collecting sniffio
  Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting idna
  Downloading idna-3.1-py3-none-any.whl (58 kB)
Collecting Jinja2>=2.10.1
  Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting itsdangerous>=0.24
  Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting Werkzeug>=0.15
  Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting Babel>=2.3
  Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting pytz
  Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting aniso8601>=0.82
  Downloading aniso8601-9.0.1-py2.py3-none-any.whl (52 kB)
Collecting jsonschema
  Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting six>=1.3.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting python-dateutil
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting cryptography>=2.8
  Downloading cryptography-3.4.7.tar.gz (546 kB)
  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 MarkupSafe>=0.23
  Downloading MarkupSafe-1.1.1.tar.gz (19 kB)
Collecting pyrsistent>=0.14.0
  Downloading pyrsistent-0.17.3.tar.gz (106 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from jsonschema->flask-restx==0.2.0->-r requirements.txt (line 7)) (46.4.0)
Collecting importlib-metadata; python_version < "3.8"
  Downloading importlib_metadata-4.0.1-py3-none-any.whl (16 kB)
Processing /root/.cache/pip/wheels/be/ae/46/d5dd8377599ae67bfaada5364712144e1146b2f04d20e60f56/cffi-1.14.5-cp37-cp37m-linux_x86_64.whl
Collecting typing-extensions>=3.6.4; python_version < "3.8"
  Downloading typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
Collecting zipp>=0.5
  Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: Flask-Login, pluginbase, configobj, cryptography, MarkupSafe, pyrsistent
  Building wheel for Flask-Login (setup.py): started
  Building wheel for Flask-Login (setup.py): finished with status 'done'
  Created wheel for Flask-Login: filename=Flask_Login-0.4.1-py2.py3-none-any.whl size=15935 sha256=6c92b5cbc4cd4c02050c8b5f3f57fff4ef25f3061ba05c2f8724fa41c6a823d7
  Stored in directory: /root/.cache/pip/wheels/6b/b8/33/1da5a5d39e093a68d81848aa44fd70e3cd0193e6f2d5641052
  Building wheel for pluginbase (setup.py): started
  Building wheel for pluginbase (setup.py): finished with status 'done'
  Created wheel for pluginbase: filename=pluginbase-1.0.0-py3-none-any.whl size=7745 sha256=a28a9e5b4a5557833b3db843728ad6af60a69eb97f2975e568037ce5e72cb4c0
  Stored in directory: /root/.cache/pip/wheels/63/76/be/ae588b56177703b847e362fbfec176c2fb8f84c811b5e41938
  Building wheel for configobj (setup.py): started
  Building wheel for configobj (setup.py): finished with status 'done'
  Created wheel for configobj: filename=configobj-5.0.6-py3-none-any.whl size=34546 sha256=fb1b735c8e3553d69bf7ee542fe4b6f225a89be52a6a022b10db8626743e22e3
  Stored in directory: /root/.cache/pip/wheels/0d/c4/19/13d74440f2a571841db6b6e0a273694327498884dafb9cf978
  Building wheel for cryptography (PEP 517): started
  Building wheel for cryptography (PEP 517): finished with status 'error'
[91m  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python /usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp_7o053uu
       cwd: /tmp/pip-install-vnx73jb9/cryptography
  Complete output (165 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/_der.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
  copying src/cryptography/hazmat/_types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
  creating build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
  running egg_info
  writing src/cryptography.egg-info/PKG-INFO
  writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  writing requirements to src/cryptography.egg-info/requires.txt
  writing top-level names to src/cryptography.egg-info/top_level.txt
  adding license file 'LICENSE' (matched pattern 'LICEN[CS]E*')
  adding license file 'LICENSE.APACHE' (matched pattern 'LICEN[CS]E*')
  adding license file 'LICENSE.BSD' (matched pattern 'LICEN[CS]E*')
  adding license file 'LICENSE.PSF' (matched pattern 'LICEN[CS]E*')
  reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 'vectors'
  warning: no previously-included files matching '*' found under directory '.github'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'dev-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files found matching 'mypy.ini'
  warning: no previously-included files matching '*' found under directory '.zuul.d'
  warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.7/cryptography
  running build_ext
  generating cffi module 'build/temp.linux-x86_64-3.7/_padding.c'
  creating build/temp.linux-x86_64-3.7
  generating cffi module 'build/temp.linux-x86_64-3.7/_openssl.c'
  running build_rust
  
      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation.html for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq.html
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation.html#rust
      5) If you are experiencing issues with Rust for *this release only* you may
         set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
      =============================DEBUG ASSISTANCE=============================
  
  error: can't find Rust compiler
  
  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
  
  To update pip, run:
  
      pip install --upgrade pip
  
  and then retry package installation.
  
  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  
  This package requires Rust >=1.41.0.
  ----------------------------------------
[0m[91m  ERROR: Failed building wheel for cryptography
[0m  Building wheel for MarkupSafe (setup.py): started
  Building wheel for MarkupSafe (setup.py): finished with status 'done'
  Created wheel for MarkupSafe: filename=MarkupSafe-1.1.1-cp37-cp37m-linux_x86_64.whl size=16952 sha256=7ee4e4c4a1a9ddcceba9914772b2ce555ac653f7085ffff955c541ffa43556f8
  Stored in directory: /root/.cache/pip/wheels/b9/d9/ae/63bf9056b0a22b13ade9f6b9e08187c1bb71c47ef21a8c9924
  Building wheel for pyrsistent (setup.py): started
  Building wheel for pyrsistent (setup.py): finished with status 'done'
  Created wheel for pyrsistent: filename=pyrsistent-0.17.3-cp37-cp37m-linux_x86_64.whl size=72464 sha256=a48932e29af032d7e18ef596cf0c1a37f8fa4677be8f5530d3de9840a12b6092
  Stored in directory: /root/.cache/pip/wheels/a5/52/bf/71258a1d7b3c8cbe1ee53f9314c6f65f20385481eaee573cc5
Successfully built Flask-Login pluginbase configobj MarkupSafe pyrsistent
Failed to build cryptography
[91mERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
[0m[91mWARNING: You are using pip version 20.1.1; however, version 21.1.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
[0mThe command '/bin/sh -c /app/setup/install' returned a non-zero code: 1
section_end:1620579860:step_script
[0Ksection_start:1620579860:cleanup_file_variables
[0K[0K[36;1mCleaning up file based variables[0;m
[0;msection_end:1620579860:cleanup_file_variables
[0K[31;1mERROR: Job failed: exit code 1

Meanwhile rustc is required in order to compile cryptography module. Mininum following changes would be necessary:

diff --git a/docker/docker-alpine/assets/setup/install b/docker/docker-alpine/assets/setup/install
index 43cca142..bd0fc41c 100755
--- a/docker/docker-alpine/assets/setup/install
+++ b/docker/docker-alpine/assets/setup/install
@@ -14,6 +14,10 @@ apk add --no-cache --virtual .build-deps \
        gcc \
        libc-dev \
        postgresql-dev \
+       cargo \
+       musl-dev \
+       clang \
+       g++ \
        make

 apk add --no-cache mariadb-connector-c libpq
@@ -35,6 +39,8 @@ do
 done
 cd ..
 pip install gunicorn
+pip install cython
+pip install greenlet
 pip install gevent
 pip install gevent-websocket
 pip install redis