Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.8-alpine-2020-12-19
Content Digest
sha256:603b13b2a53e495e4bd9e8fe9e384bc95409700e6ab7d9fba8eae473b208afa4
Details
Created

2020-12-19 10:20:25 UTC

Size

61.7 MB

Content Digest
Labels
  • maintainer
    Sebastian Ramirez <tiangolo@gmail.com>

Environment
ALPINEPYTHON

python3.8

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

LISTEN_PORT

80

NGINX_MAX_UPLOAD

0

NGINX_WORKER_PROCESSES

1

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHONPATH

/app

PYTHON_GET_PIP_SHA256

ce486cddac44e99496a702aa5c06c5028414ef48fdfd5242cd2fe559b13d4348

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/1fe530e9e3d800be94e04f6428460fc4fb94f5a9/get-pip.py

PYTHON_PIP_VERSION

20.1

PYTHON_VERSION

3.8.2

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PLUGIN

python3

UWSGI_PROCESSES

16


Layers

[#000] sha256:cbdbe7a5bc2a134ca8ec91be58565ec07d037386d1f1d8385412d224deafca08 - 4.35% (2.68 MB)

[#001] sha256:26ebcd19a4e3221ee54d309346df0869af0d74a25920287f70b0ee1da1bf75de - 0.47% (294 KB)

[#002] sha256:35acdcbeccf10aebe0958173e6cb658cc153db5b0494c9b2b0fe40b342374542 - 48.09% (29.7 MB)

[#003] sha256:647f327f91ddb1dd668d2647783c6138710571d7c6f8b87f7e550cbeb619bc26 - 0.0% (229 Bytes)

[#004] sha256:9add0a120de2565c11f584ee700dbbfc335a3f1d8f5590152463f99146391425 - 2.98% (1.84 MB)

[#005] sha256:7acb12107be6ca748dc8f69ca3a170a259604dcdd40f30b961ef286f14ff8ede - 0.0% (1.4 KB)

[#006] sha256:9b08292c195840cdcd2c6ae852c6d3d177591affc2a9f2b6b69f72efd3924366 - 8.35% (5.15 MB)

[#007] sha256:b915826692f0c7f976f02cdff0228b95531ac835a1e99f2be836f40eb455a103 - 25.69% (15.9 MB)

[#008] sha256:f4c5735ccc53e8e17dd78d123b7c8b351c127ddb9daecd4425d5a26f8ce56fa2 - 0.0% (380 Bytes)

[#009] sha256:fa7026f0c8da1e91c065052856d306bf0f36da2222ac2495969dcf951b64a72d - 3.26% (2.01 MB)

[#010] sha256:7e2ebecd5a26a6f29ab6e2efd926ac4fe27b354415dacabb2e220a80224853c8 - 0.0% (339 Bytes)

[#011] sha256:74f21c3a5015949fd7904bc910f48d6b4fd85e4b646656f241f04aead386576e - 0.0% (321 Bytes)

[#012] sha256:14273d19b2d771d71571477a0d1b940d85cc5ad2d7512b9dacba4dc0d3a09757 - 0.0% (321 Bytes)

[#013] sha256:52278966fe0d7a0f122b8f90e10673da06a91d00a76c5a45cc6a5d1b992e7fa8 - 0.0% (1.15 KB)

[#014] sha256:109fb7e39f269ed208205a4ec480d1f7047b239c4ab9a946e9f99d11ef5b9e0d - 0.0% (1.15 KB)

[#015] sha256:bf5f92e43e5ca6fb1639ee402c3114206611aa24c99b9ecda975fe80ca0639d4 - 0.0% (565 Bytes)

[#016] sha256:28936ba08128bf27972a9a4c1bff058bc3d8457e3a210d54ff32889c5bf83364 - 6.79% (4.19 MB)

[#017] sha256:1c064a0cbb9a7714793f28e44f9437239931aa9ae96b56cf67d4fecb9e58efae - 0.0% (584 Bytes)

[#018] sha256:1bb74ad4008c177ed4a8ec6b6bd5a72ee8c6d550be5e96eab4ff572c0cfa54cc - 0.0% (1.19 KB)

[#019] sha256:52de8af9debaf516b475e8d2aab5e958ae9af53a2741a335b52cd06c3fa77407 - 0.0% (770 Bytes)

[#020] sha256:8248ae40c36dcda47ab77aa76a89058fa4815e52e4fbefa635867983f386e8e9 - 0.0% (769 Bytes)


History
2020-04-24 01:05:03 UTC

/bin/sh -c #(nop) ADD file:b91adb67b670d3a6ff9463e48b7def903ed516be66fc4282d22c53e41512be49 in /

2020-04-24 01:05:03 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2020-04-24 01:10:55 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2020-04-24 01:10:55 UTC

/bin/sh -c #(nop) ENV LANG=C.UTF-8

2020-04-24 01:10:57 UTC

/bin/sh -c apk add --no-cache ca-certificates

2020-04-24 01:10:58 UTC

/bin/sh -c #(nop) ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2020-04-24 01:23:29 UTC

/bin/sh -c #(nop) ENV PYTHON_VERSION=3.8.2

2020-04-24 01:34:28 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg tar xz && wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" && wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" && export GNUPGHOME="$(mktemp -d)" && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && rm -rf "$GNUPGHOME" python.tar.xz.asc && mkdir -p /usr/src/python && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz && rm python.tar.xz && apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev coreutils dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev && apk del --no-network .fetch-deps && cd /usr/src/python && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" && make install && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-cache --virtual .python-rundeps && apk del --no-network .build-deps && find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' + && rm -rf /usr/src/python && python3 --version

2020-04-24 01:34:30 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2020-04-29 17:38:03 UTC

/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=20.1

2020-04-29 17:38:03 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/1fe530e9e3d800be94e04f6428460fc4fb94f5a9/get-pip.py

2020-04-29 17:38:04 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=ce486cddac44e99496a702aa5c06c5028414ef48fdfd5242cd2fe559b13d4348

2020-04-29 17:38:10 UTC

/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" ; pip --version; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2020-04-29 17:38:10 UTC

/bin/sh -c #(nop) CMD ["python3"]

2020-05-09 21:27:52 UTC

/bin/sh -c #(nop) LABEL maintainer=Sebastian Ramirez <tiangolo@gmail.com>

2020-05-09 21:27:54 UTC

/bin/sh -c #(nop) COPY file:9349aa2afa28d373ac73d7d5c596e2af56f169468a9b8a5eedac2022653dc889 in /

2020-05-09 21:27:59 UTC

/bin/sh -c sh /install-nginx-alpine.sh

2020-05-09 21:27:59 UTC

/bin/sh -c #(nop) EXPOSE 80

2020-05-09 21:28:00 UTC

/bin/sh -c #(nop) EXPOSE 443

2020-05-09 21:28:04 UTC

/bin/sh -c apk add --no-cache uwsgi-python3

2020-05-09 21:28:06 UTC

/bin/sh -c #(nop) COPY file:aa735ddb348a61126ffcb6b15de6f2e471b542bb82c5fecbc97b2bf92df0ee79 in /etc/uwsgi/

2020-05-09 21:28:07 UTC

/bin/sh -c apk add --no-cache supervisor

2020-05-09 21:28:08 UTC

/bin/sh -c #(nop) COPY file:c70f7970943e6045f8e622410504975873cee24cc5b282d5783dcb66aef59576 in /etc/supervisor.d/supervisord.ini

2020-05-09 21:28:08 UTC

/bin/sh -c #(nop) ENV UWSGI_PLUGIN=python3

2020-05-09 21:28:09 UTC

/bin/sh -c #(nop) ENV UWSGI_INI=/app/uwsgi.ini

2020-05-09 21:28:10 UTC

/bin/sh -c #(nop) ENV UWSGI_CHEAPER=2

2020-05-09 21:28:11 UTC

/bin/sh -c #(nop) ENV UWSGI_PROCESSES=16

2020-05-09 21:28:12 UTC

/bin/sh -c #(nop) ENV NGINX_MAX_UPLOAD=0

2020-05-09 21:28:13 UTC

/bin/sh -c #(nop) ENV NGINX_WORKER_PROCESSES=1

2020-05-09 21:28:14 UTC

/bin/sh -c #(nop) ENV LISTEN_PORT=80

2020-05-09 21:28:15 UTC

/bin/sh -c #(nop) ENV ALPINEPYTHON=python3.8

2020-05-09 21:28:17 UTC

/bin/sh -c #(nop) COPY file:840534dabbfe7e96405c0df8f04a617c3d0787b2062b5ab87331f0e076a4646f in /start.sh

2020-05-09 21:28:17 UTC

/bin/sh -c chmod +x /start.sh

2020-05-09 21:28:19 UTC

/bin/sh -c #(nop) COPY file:13915f0558c7de2123ff3c9bad4de7f9581fb9d132bdb4b4cf9b2077a744ee5c in /entrypoint.sh

2020-05-09 21:28:19 UTC

/bin/sh -c chmod +x /entrypoint.sh

2020-05-09 21:28:20 UTC

/bin/sh -c #(nop) ENTRYPOINT ["sh" "/entrypoint.sh"]

2020-05-09 21:28:22 UTC

/bin/sh -c #(nop) COPY dir:c4b9a88f76cfd965daf2e3d2735023e48b2ac7dc3321f3030887413af2d942c3 in /app

2020-05-09 21:28:22 UTC

/bin/sh -c #(nop) WORKDIR /app

2020-05-09 21:28:23 UTC

/bin/sh -c #(nop) CMD ["/start.sh"]

2020-12-19 10:20:10 UTC

/bin/sh -c #(nop) LABEL maintainer=Sebastian Ramirez <tiangolo@gmail.com>

2020-12-19 10:20:15 UTC

/bin/sh -c pip install flask

2020-12-19 10:20:15 UTC

/bin/sh -c #(nop) ENV STATIC_URL=/static

2020-12-19 10:20:16 UTC

/bin/sh -c #(nop) ENV STATIC_PATH=/app/static

2020-12-19 10:20:17 UTC

/bin/sh -c #(nop) ENV STATIC_INDEX=0

2020-12-19 10:20:19 UTC

/bin/sh -c #(nop) COPY dir:52c0970f0a00bf94c024ecb5ebfaad8996a41703cdd7a3a110a140734d9516f0 in /app

2020-12-19 10:20:19 UTC

/bin/sh -c #(nop) WORKDIR /app

2020-12-19 10:20:20 UTC

/bin/sh -c #(nop) ENV PYTHONPATH=/app

2020-12-19 10:20:21 UTC

/bin/sh -c mv /entrypoint.sh /uwsgi-nginx-entrypoint.sh

2020-12-19 10:20:23 UTC

/bin/sh -c #(nop) COPY file:3657acbc563729fbb6b0d95e04ca46c6da97a75211b5bec56e3905d1e864d12a in /entrypoint.sh

2020-12-19 10:20:23 UTC

/bin/sh -c chmod +x /entrypoint.sh

2020-12-19 10:20:24 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/entrypoint.sh"]

2020-12-19 10:20:25 UTC

/bin/sh -c #(nop) CMD ["/start.sh"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete