Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.8-2023-01-30
Content Digest
sha256:6af8333da2b8b57e2b64287c2def14dd1564e358f8438f1f5c54a96be61e6f56
Details
Created

2023-01-30 00:09:34 UTC

Size

343 MB

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

Environment
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

1e501cf004eac1b7eb1f97266d28f995ae835d30250bec7f8850562703067dc6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/66030fa03382b4914d4c4d0896961a0bdeeeb274/public/get-pip.py

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.16

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:bbeef03cda1f5d6c9e20c310c1c91382a6b0a1a2501c3436b28152f13896f082 - 15.29% (52.5 MB)

[#001] sha256:f049f75f014ee8fec2d4728b203c9cbee0502ce142aec030f874aa28359e25f1 - 1.44% (4.92 MB)

[#002] sha256:56261d0e6b05ece42650b14830960db5b42a9f23479d868256f91d96869ac0c2 - 3.02% (10.4 MB)

[#003] sha256:9bd150679dbdb02d9d4df4457d54211d6ee719ca7bc77747a7be4cd99ae03988 - 15.17% (52.1 MB)

[#004] sha256:5b282ee9da04b94adc14866f2da98baed3cdf897c27f7490b8d3b1ae1522ddc7 - 54.72% (188 MB)

[#005] sha256:03f027d5e312b7dc7e22a0da00fb3baa10fcbb6b4426fc57412a15fc1f8f8ff6 - 1.75% (6 MB)

[#006] sha256:a17a230113da9ed5eb128a796328c99f2e2c6eebc8ca0d378ef43449e2b2ed1f - 4.83% (16.6 MB)

[#007] sha256:dffd8aedb8511c25055b1f0d958d4ff0e94bec2ef70f2505863a98e97a73d4b3 - 0.0% (235 Bytes)

[#008] sha256:977619fbc754049098d4d55208a95758fe9b054d7f8499825ae9bb42b78532bc - 0.8% (2.75 MB)

[#009] sha256:8c9ee8b64b64be1e4358365f55adcd784d10bfa339c20ff30505709013e8eb5b - 0.0% (1.29 KB)

[#010] sha256:70eab48704fe4e0fa3a63ba1976dc67756a679738bd33c1dc63f8f3498344d08 - 1.19% (4.1 MB)

[#011] sha256:af8c7517b9900f96b8b52f12c77855a52657ef016d2defa2414641140ebfeb84 - 0.0% (158 Bytes)

[#012] sha256:e31fa34e201ddf169c56240ad978398aafc50d4abac507544589b0af0ad9d887 - 1.05% (3.6 MB)

[#013] sha256:39e7c7df375c0ace407a3b1eea7c44a06020be9cfbe1e67ea1ab419e380e68ca - 0.0% (176 Bytes)

[#014] sha256:9c37221c4a0306c25c408657572f50e165bc86428672d3a726365e1924a8e2bb - 0.0% (379 Bytes)

[#015] sha256:a78c81364034cc22b4f117a3d277a63dd7152cffb3a97709839ab81a0e92bc5c - 0.37% (1.28 MB)

[#016] sha256:7177c23da9c23612458ad4dcdf315c6f211ec2b5bbf11a8c9ccdd259956101f2 - 0.0% (469 Bytes)

[#017] sha256:fff2fa3f708d34e859f64c12102c57d20ae3d13af8baa33c40897e7b8eed2f2c - 0.0% (467 Bytes)

[#018] sha256:3d75a25412b5b0da531ea1d9fa54d4e1bcc062481bafeef72ddbcbb9bf45458c - 0.0% (465 Bytes)

[#019] sha256:9b1ef4869f1359ed2d7833a75bd9ebcb9b31c5b17c502cd4d7f7d200c4b05922 - 0.0% (321 Bytes)

[#020] sha256:ef0c44ff02eef5a0aec87eabe2f8290ea545e786210554a334683a91f5770272 - 0.0% (321 Bytes)

[#021] sha256:9c0bee252fb9c96225103f81f33d9523b9e6fee851a80511fde3a1a3ae6576bd - 0.0% (1.15 KB)

[#022] sha256:d29564ab5a8d3a5691d7b1844540580697ef9c6b97600b8aad46a10077e216db - 0.0% (1.15 KB)

[#023] sha256:78514c89e60612fb68199206329963f39ba633dd2ecb39fc728e544013ab95f7 - 0.0% (565 Bytes)

[#024] sha256:1f825fd9a7bc65ab13293ec14b12f81749948ae5e970d1c46420241af7771ddd - 0.0% (158 Bytes)

[#025] sha256:a59a336f849a7a7e1e4a112b08f6500ded4f22f9847bf977aaac31dc05dd4ffc - 0.35% (1.21 MB)

[#026] sha256:1836a72a8e2f6acaf2dbbe33368d4a7a52fe8fcc961cc92fa287787b94dfde40 - 0.0% (583 Bytes)

[#027] sha256:45ba2dbbed50f489be2d330417df9145d46ad0dbfdc7f9800c7a7c1efe1fd866 - 0.0% (1.19 KB)

[#028] sha256:56d979a8f7f8155c6e0fa536b24464dba88f23d91a6ccd869c9f886bd68e7fac - 0.0% (770 Bytes)

[#029] sha256:9a41654c48ca9d4846673c9a35c76ad675814e5ff1ad5bab7d400e7b5ec06f8a - 0.0% (769 Bytes)


History
2023-01-11 02:34:29 UTC

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

2023-01-11 02:34:30 UTC

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

2023-01-11 03:04:10 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*

2023-01-11 03:04:16 UTC

/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi

2023-01-11 03:04:36 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*

2023-01-11 03:05:32 UTC

/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev $( if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then echo 'default-libmysqlclient-dev'; else echo 'libmysqlclient-dev'; fi ) ; rm -rf /var/lib/apt/lists/*

2023-01-11 13:06:43 UTC

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

2023-01-11 13:06:43 UTC

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

2023-01-11 13:06:50 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/*

2023-01-11 15:49:21 UTC

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

2023-01-11 16:18:42 UTC

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

2023-01-18 02:46:31 UTC

/bin/sh -c set -eux; 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"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --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 --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; 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 --without-ensurepip ; nproc="$(nproc)"; make -j "$nproc" LDFLAGS="-Wl,-rpath='\$\$ORIGIN/../lib'" ; make install; bin="$(readlink -ve /usr/local/bin/python3)"; dir="$(dirname "$bin")"; mkdir -p "/usr/share/gdb/auto-load/$dir"; cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; cd /; 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 'libpython*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + ; ldconfig; python3 --version

2023-01-18 02:46:32 UTC

/bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done

2023-01-18 02:46:32 UTC

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

2023-01-18 02:46:32 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2023-01-18 02:46:32 UTC

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

2023-01-18 02:46:32 UTC

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

2023-01-18 02:46:38 UTC

/bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version

2023-01-18 02:46:38 UTC

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

2023-01-23 00:19:29 UTC

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

2023-01-23 00:19:30 UTC

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

2023-01-23 00:19:54 UTC

/bin/sh -c bash /install-nginx-debian.sh

2023-01-23 00:19:55 UTC

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

2023-01-23 00:20:27 UTC

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

2023-01-23 00:20:29 UTC

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

2023-01-23 00:20:30 UTC

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

2023-01-23 00:20:32 UTC

/bin/sh -c rm /etc/nginx/conf.d/default.conf

2023-01-23 00:20:33 UTC

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

2023-01-23 00:20:41 UTC

/bin/sh -c apt-get update && apt-get install -y supervisor && rm -rf /var/lib/apt/lists/*

2023-01-23 00:20:42 UTC

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

2023-01-23 00:20:44 UTC

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

2023-01-23 00:20:45 UTC

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

2023-01-23 00:20:47 UTC

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

2023-01-23 00:20:48 UTC

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

2023-01-23 00:20:50 UTC

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

2023-01-23 00:20:51 UTC

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

2023-01-23 00:20:52 UTC

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

2023-01-23 00:20:54 UTC

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

2023-01-23 00:20:55 UTC

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

2023-01-23 00:20:57 UTC

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

2023-01-23 00:20:59 UTC

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

2023-01-23 00:21:01 UTC

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

2023-01-23 00:21:02 UTC

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

2023-01-23 00:21:04 UTC

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

2023-01-23 00:21:05 UTC

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

2023-01-23 00:21:06 UTC

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

2023-01-30 00:09:15 UTC

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

2023-01-30 00:09:16 UTC

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

2023-01-30 00:09:21 UTC

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

2023-01-30 00:09:22 UTC

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

2023-01-30 00:09:23 UTC

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

2023-01-30 00:09:24 UTC

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

2023-01-30 00:09:25 UTC

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

2023-01-30 00:09:26 UTC

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

2023-01-30 00:09:28 UTC

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

2023-01-30 00:09:29 UTC

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

2023-01-30 00:09:30 UTC

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

2023-01-30 00:09:32 UTC

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

2023-01-30 00:09:33 UTC

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

2023-01-30 00:09:34 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