Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.8-alpine-2021-10-01
Content Digest
sha256:39313b1980f605a41751dacdf6cc0244db30f26434ab679855e5a935f5680924
Details
Created

2021-10-01 20:53:15 UTC

Size

44.2 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

8006625804f55e1bd99ad4214fd07082fee27a1c35945648a58f9087a714e9d4

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4be3fe44ad9dedc028629ed1497052d65d281b8e/get-pip.py

PYTHON_PIP_VERSION

21.0.1

PYTHON_VERSION

3.8.7

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:0a6724ff3fcd51338afdfdc2b1d4ffd04569818e31efad957213d67c29b45101 - 6.07% (2.68 MB)

[#001] sha256:233d96b408279e8bd3bc2420e6b070d4af559b50d792ee416508669ba88d68f2 - 0.65% (293 KB)

[#002] sha256:eb1d5180d93b3cc7c6e8fc00d0c18a7b816e063fab83e56c36e64e13ff592ce3 - 24.44% (10.8 MB)

[#003] sha256:8e53eaee17a39b95cb2d6f0e4aef1884e8d587bd60405957f4c913ff53766904 - 0.0% (234 Bytes)

[#004] sha256:aa3bb48d8156e4067fabc6be6e8e96a4e4f6bc4350fa4cd8475e6a2216c934d2 - 4.67% (2.06 MB)

[#005] sha256:e5fe684620969e6ea27757f1d448f0577c6ce5c5545b1ce5d554745806468579 - 0.0% (1.42 KB)

[#006] sha256:5f468b9d5f19fd7af39c9a399c727f6c2f4117d70f2886b7d097dcdeda8cb628 - 13.37% (5.91 MB)

[#007] sha256:33e0593660b65f6ebf53950698544fe5c289615a1bce3d982084411b7e91ddd2 - 37.95% (16.8 MB)

[#008] sha256:d5c88fd5ce0a929d2961b44e730102fdfba2e18800a917cab298604ca21802a1 - 0.0% (382 Bytes)

[#009] sha256:794a3ee63ed6e5870996de37adada0724bfc8b58cbf93701b6113e5cea72c260 - 4.57% (2.02 MB)

[#010] sha256:83eb11ffa190dc67d9690f6fe60bf55d9ad20cf30177f2efed51a71eedeaf6c8 - 0.0% (442 Bytes)

[#011] sha256:92110307fb33a2ff3ddb1f7fd0546602f713724fa464b60afab374aebe559a91 - 0.0% (464 Bytes)

[#012] sha256:9e7f2457a0f883671d99e13c7e7e827ec22caec2a8cf2a80cd4471a4afce7045 - 0.0% (464 Bytes)

[#013] sha256:4d6781a3f244c8a86646d6970ce2dd0280defa942b59eb0ca79765f895e60f46 - 0.0% (321 Bytes)

[#014] sha256:c51e66f9367013247b49cf0e5b04f87cfac6984bafd5752d265c199dab7ad8cd - 0.0% (320 Bytes)

[#015] sha256:5ebb6217254fe534f82bd67eafa8133688cd619475ee778bd181a559e738dec3 - 0.0% (1.15 KB)

[#016] sha256:a8065c2a4154456dcab0c86d0bcc15877d5adb5104284e0de1eef1e7ab744ec2 - 0.0% (1.15 KB)

[#017] sha256:372fb168fd9e0d4c2d437ca0b943e8523d45b84d49c4ebb78ed13b57d9ee2ae9 - 0.0% (567 Bytes)

[#018] sha256:31754f3b55c079a174428dba34dd04dc058868b981869cab32057e448584da5b - 0.0% (159 Bytes)

[#019] sha256:4cfef2f211afd166ecda17dfd5d8a16b5538de50bfebbc82b7dcaf18dee0cf17 - 8.26% (3.65 MB)

[#020] sha256:607d19cf00df01256011ebfec14179f8613f048c93cce93c78f9087aedfb4aad - 0.0% (584 Bytes)

[#021] sha256:49a0ee2e59613b64cc46232d0fdc914d35cfd4aa8b49028753760d9e49c23275 - 0.0% (1.19 KB)

[#022] sha256:10b6020f0dbc97ea8ef26455f62d96cfa2ca3490f14f2ce91a8b87bacd398769 - 0.0% (769 Bytes)

[#023] sha256:7322aeef084178f66124758b87bfd219d3e3ef13cac41061c615ff2dc9145ddb - 0.0% (769 Bytes)


History
2020-12-17 00:19:49 UTC

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

2020-12-17 00:19:49 UTC

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

2020-12-17 02:11:02 UTC

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

2020-12-17 02:11:02 UTC

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

2020-12-17 02:11:04 UTC

/bin/sh -c set -eux; apk add --no-cache ca-certificates ;

2020-12-17 02:11:04 UTC

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

2020-12-22 19:07:36 UTC

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

2020-12-22 19:17:21 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" LDFLAGS="-Wl,--strip-all" && make install && rm -rf /usr/src/python && 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' -o -name '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + && 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 && python3 --version

2020-12-22 19:17:22 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

2021-02-02 00:20:45 UTC

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

2021-02-02 00:20:45 UTC

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

2021-02-02 00:20:45 UTC

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

2021-02-02 00:20:52 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

2021-02-02 00:20:52 UTC

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

2021-09-18 19:25:56 UTC

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

2021-09-18 19:25:58 UTC

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

2021-09-18 19:26:02 UTC

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

2021-09-18 19:26:03 UTC

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

2021-09-18 19:26:04 UTC

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

2021-09-18 19:26:08 UTC

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

2021-09-18 19:26:09 UTC

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

2021-09-18 19:26:10 UTC

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

2021-09-18 19:26:11 UTC

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

2021-09-18 19:26:12 UTC

/bin/sh -c #(nop) COPY file:48c922e5fabde642c5f5fb36555c9a2c3f257dc9348e34da76f3a243d132895c in /etc/supervisor/stop-supervisor.sh

2021-09-18 19:26:12 UTC

/bin/sh -c chmod +x /etc/supervisor/stop-supervisor.sh

2021-09-18 19:26:13 UTC

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

2021-09-18 19:26:14 UTC

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

2021-09-18 19:26:15 UTC

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

2021-09-18 19:26:16 UTC

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

2021-09-18 19:26:17 UTC

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

2021-09-18 19:26:18 UTC

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

2021-09-18 19:26:19 UTC

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

2021-09-18 19:26:20 UTC

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

2021-09-18 19:26:22 UTC

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

2021-09-18 19:26:22 UTC

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

2021-09-18 19:26:24 UTC

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

2021-09-18 19:26:24 UTC

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

2021-09-18 19:26:25 UTC

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

2021-09-18 19:26:27 UTC

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

2021-09-18 19:26:27 UTC

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

2021-09-18 19:26:28 UTC

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

2021-10-01 20:53:00 UTC

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

2021-10-01 20:53:01 UTC

/bin/sh -c #(nop) COPY file:817b71b5632e3761e542ee3f22b9db03fa5151e0f310af2e45c83e801e0282fe in /tmp/requirements.txt

2021-10-01 20:53:05 UTC

/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt

2021-10-01 20:53:05 UTC

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

2021-10-01 20:53:06 UTC

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

2021-10-01 20:53:07 UTC

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

2021-10-01 20:53:09 UTC

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

2021-10-01 20:53:09 UTC

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

2021-10-01 20:53:10 UTC

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

2021-10-01 20:53:11 UTC

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

2021-10-01 20:53:13 UTC

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

2021-10-01 20:53:13 UTC

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

2021-10-01 20:53:14 UTC

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

2021-10-01 20:53:15 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