Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.11-2023-01-16
Content Digest
sha256:2ccaaf6b326ea864634bd82f70efb1263391506aa4ad17eb0b63abfded2a64c3
Details
Created

2023-01-16 00:10:10 UTC

Size

351 MB

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

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

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.3.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.1

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:32de3c850997ce03b6ff4ae8fb00b34b9d7d7f9a35bfcdb8538e22cc7b77c29d - 14.94% (52.5 MB)

[#001] sha256:fa1d4c8d85a4e064e50cea74d4aa848dc5fc275aef223fcc1f21fbdb1b5dd182 - 1.4% (4.92 MB)

[#002] sha256:c796299bbbddc7aeada9539a4e7874a75fa2b6ff421f8d5ad40f227b40ab4d86 - 2.95% (10.4 MB)

[#003] sha256:81283a9569ad5e90773f038daedd0d565810ca5935eec8f53b8bcb6a199030d6 - 14.82% (52.1 MB)

[#004] sha256:60b38700e7fb2cdfac79b15e4c1691a80fe6b4101c7b7fea66b9e7cd64d961cf - 53.45% (188 MB)

[#005] sha256:0f67f32c26d393a2580062f2cebfde80cc4c5a5e264bbb7a32569c6c7551c1c2 - 1.71% (6 MB)

[#006] sha256:1922a20932d42b7e6dbcad420d9f77ac92bc9eed4a36497944b06abf15dc771e - 6.31% (22.2 MB)

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

[#008] sha256:9b2b0e41cfb6345587b7cf60c2133ccfcd69ee5de027b5123095cba860674d09 - 0.83% (2.91 MB)

[#009] sha256:1c43b7b9ca55afd17188483ceea1c574e8b279a22521192da3edf45ea10717ea - 0.0% (1.29 KB)

[#010] sha256:3028b2ee75ddfc7d162b50d2adf8db712ecfc56badc4d0f9d211799047fb23ab - 1.17% (4.1 MB)

[#011] sha256:40662892108accfa2a46167a1a85691dff16b9825078a84d9dddac74a2be434c - 0.0% (160 Bytes)

[#012] sha256:21bb0f4762c9ab2b6c3d794753a8014395311de931c440b7e8605201e13756dc - 1.63% (5.72 MB)

[#013] sha256:0e7ce824e03e6cab298b72f9b8e4a0fb8048afd3e3c4b69bb12f21676f3bc5b1 - 0.0% (175 Bytes)

[#014] sha256:5e70201da5a34e1aed6c58aa5ced7cab239c0fdc13e3a3446357c4c3168251c6 - 0.0% (379 Bytes)

[#015] sha256:78df133bbf5524ab5bde5f02c793d77b4d95dccc9ab64f52fe05ce58abce8175 - 0.36% (1.28 MB)

[#016] sha256:22690cc217d36364a88b7efc0a6fb703ca773902b2a5e0376817627f3c1b56df - 0.0% (465 Bytes)

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

[#018] sha256:e367ac904282439e2e8c2da95fe985ef51d2ce48596dfef13313ea5064f8d7f6 - 0.0% (466 Bytes)

[#019] sha256:0667f111e5be44b317f9344600835cd028919fc791fecd94f122258d55eb220d - 0.0% (322 Bytes)

[#020] sha256:e7a69fe64f9f1df5b2934f29e175ba19614f497c30d3f996a82e1d1bb414a96e - 0.0% (322 Bytes)

[#021] sha256:939b05621670397ee1f8b4c5ebc06c7537961de7758048927ca47cc094a5fad1 - 0.0% (1.15 KB)

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

[#023] sha256:ec41ce1ac8b36443c75e86ca42a59f45dd6ca650546d6128a4b7dfa893d9564c - 0.0% (567 Bytes)

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

[#025] sha256:8bd123c1e1d7274c8f0b2d84b51f3bb4acdcd095404d1237915da8304f9afe3a - 0.44% (1.54 MB)

[#026] sha256:76f1613fa2243a762743418c6d5f32404ca41f33d20e9b98e259205a55f2214e - 0.0% (582 Bytes)

[#027] sha256:80d296dd57d273bf5f9894938f23bded7e84abf90ee95d13fc4b58406aa20023 - 0.0% (1.19 KB)

[#028] sha256:503226d54eb0d24528d517d739377f2cad33e2d8fa0e587d337474e089ff0de9 - 0.0% (768 Bytes)

[#029] sha256:515da70bb27d0806d3b153ddd4fb40efe16b6a0ca066971678af6ab3c8dcafba - 0.0% (769 Bytes)


History
2022-12-21 01:20:21 UTC

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

2022-12-21 01:20:22 UTC

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

2022-12-21 11:13:51 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/*

2022-12-21 11:13:58 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

2022-12-21 11:14:17 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/*

2022-12-21 11:15:31 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/*

2022-12-21 17:54:25 UTC

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

2022-12-21 17:54:25 UTC

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

2022-12-21 17:54:30 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/*

2022-12-21 18:22:49 UTC

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

2022-12-21 18:22:49 UTC

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

2022-12-21 18:36:43 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-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; make -j "$nproc" ; 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' \) \) \) -exec rm -rf '{}' + ; ldconfig; python3 --version

2022-12-21 18:36:44 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

2022-12-21 18:36:44 UTC

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

2023-01-06 18:41:34 UTC

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

2023-01-06 18:41:35 UTC

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

2023-01-06 18:41:35 UTC

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

2023-01-06 18:41:40 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-06 18:41:40 UTC

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

2023-01-09 00:20:32 UTC

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

2023-01-09 00:20:33 UTC

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

2023-01-09 00:20:45 UTC

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

2023-01-09 00:20:46 UTC

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

2023-01-09 00:21:07 UTC

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

2023-01-09 00:21:08 UTC

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

2023-01-09 00:21:08 UTC

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

2023-01-09 00:21:10 UTC

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

2023-01-09 00:21:11 UTC

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

2023-01-09 00:21:18 UTC

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

2023-01-09 00:21:19 UTC

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

2023-01-09 00:21:20 UTC

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

2023-01-09 00:21:22 UTC

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

2023-01-09 00:21:23 UTC

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

2023-01-09 00:21:24 UTC

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

2023-01-09 00:21:25 UTC

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

2023-01-09 00:21:25 UTC

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

2023-01-09 00:21:26 UTC

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

2023-01-09 00:21:27 UTC

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

2023-01-09 00:21:29 UTC

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

2023-01-09 00:21:30 UTC

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

2023-01-09 00:21:31 UTC

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

2023-01-09 00:21:32 UTC

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

2023-01-09 00:21:33 UTC

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

2023-01-09 00:21:34 UTC

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

2023-01-09 00:21:35 UTC

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

2023-01-09 00:21:36 UTC

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

2023-01-16 00:09:49 UTC

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

2023-01-16 00:09:50 UTC

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

2023-01-16 00:09:58 UTC

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

2023-01-16 00:09:59 UTC

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

2023-01-16 00:10:00 UTC

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

2023-01-16 00:10:01 UTC

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

2023-01-16 00:10:02 UTC

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

2023-01-16 00:10:03 UTC

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

2023-01-16 00:10:04 UTC

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

2023-01-16 00:10:06 UTC

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

2023-01-16 00:10:07 UTC

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

2023-01-16 00:10:08 UTC

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

2023-01-16 00:10:09 UTC

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

2023-01-16 00:10:10 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