Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.9-2022-12-12
Content Digest
sha256:7e6574bb8faf1b1cdf8d1b9614ad845346cfef3135a7e01115686d3636ea21d7
Details
Created

2022-12-12 00:10:16 UTC

Size

344 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

58.1.0

PYTHON_VERSION

3.9.15

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:a8ca11554fce00d9177da2d76307bdc06df7faeb84529755c648ac4886192ed1 - 15.26% (52.5 MB)

[#001] sha256:e4e46864aba2e62ba7c75965e4aa33ec856ee1b1074dda6b478101c577b63abd - 1.43% (4.93 MB)

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

[#003] sha256:195ea6a58ca87a18477965a6e6a8623112bde82c5b568a29c56ce4581b6e6695 - 15.13% (52.1 MB)

[#004] sha256:157f16ed0a0c119e5015d22d95fd158bf9e85654611b870b79cca3987442948b - 54.58% (188 MB)

[#005] sha256:884b144bec286b456b1cd694ccd6adc07c3619b3b84069c4ec575fe213e94a7e - 1.74% (6 MB)

[#006] sha256:dc4ed63cc6aea40bdabcc90c7618240e773465f7c035f6db25bf1f2bd7acf8c0 - 5.08% (17.5 MB)

[#007] sha256:aa6a7fdf543bbb365db97aa8b1b92b03fa406299b8c917fc3fe5055d7f329b9d - 0.0% (234 Bytes)

[#008] sha256:42aabb4354c6c19d91663a410f18404d85d143a93a74e55a854a1d00b3cf2f93 - 0.8% (2.75 MB)

[#009] sha256:159369f804069e4812c966b528a0e59d1bb1e76e6a0c6107a6efb0be289c571b - 0.0% (1.29 KB)

[#010] sha256:144271ef982b5b213efeaac1d95ac78cd4fa049e86fb7e5c4cedb5aa5cceb549 - 1.19% (4.1 MB)

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

[#012] sha256:b5097dd7e20da12cafc2eb6cf371b661c55e2648b6fe46eef7fde4619853bcbd - 1.04% (3.58 MB)

[#013] sha256:1bc97c301aabe4e137c04d949208b7c8d7acedf847fc607aaa2e4a94513c0a3e - 0.0% (176 Bytes)

[#014] sha256:83aab94e1a758a7c19dce76ed2c84887fa78ba0331ca930230949791c60a346f - 0.0% (379 Bytes)

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

[#016] sha256:62b9721aba34f6cab090748a8607a029f4cc15fafe7b2927f1d30d9b2f96083a - 0.0% (470 Bytes)

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

[#018] sha256:09bcf15298447e8b54398cc4d5efd36675bbef2ce9ef696e5e3b43ab5ee2081f - 0.0% (463 Bytes)

[#019] sha256:041e793553d630e6b6b8fa7ad06ed4c790b0ddc01bc1e6cbda9c709eeed29ab2 - 0.0% (321 Bytes)

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

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

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

[#023] sha256:c8e23ab21779e065a649f700cb7873139b5f023b939f38f5e288c747f0642793 - 0.0% (566 Bytes)

[#024] sha256:e87d91179661d02ff01b6932a5504b0b7d56ea884ae13308446dbbacfdd36238 - 0.0% (159 Bytes)

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

[#026] sha256:73910665afb853d09b16c8591a7244dd6a3691ec926067fbd6129400b4e7094e - 0.0% (583 Bytes)

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

[#028] sha256:747f767489262a1ac5f5ecae548704be14a4ab03009e0b6a48232f63f53b8c9e - 0.0% (769 Bytes)

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


History
2022-11-15 04:04:43 UTC

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

2022-11-15 04:04:43 UTC

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

2022-11-15 10:23:32 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-11-15 10:23:39 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-11-15 10:23:56 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-11-15 10:24:46 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-11-15 18:40:33 UTC

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

2022-11-15 18:40:33 UTC

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

2022-11-15 18:40:40 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-11-15 21:31:15 UTC

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

2022-11-15 21:31:16 UTC

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

2022-11-15 21:37:52 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" ; 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-11-15 21:37:53 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-11-15 21:37:53 UTC

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

2022-11-15 21:37:53 UTC

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

2022-11-16 06:57:31 UTC

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

2022-11-16 06:57:32 UTC

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

2022-11-16 06:57: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

2022-11-16 06:57:38 UTC

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

2022-12-05 00:19:45 UTC

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

2022-12-05 00:19:46 UTC

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

2022-12-05 00:20:12 UTC

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

2022-12-05 00:20:14 UTC

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

2022-12-05 00:20:45 UTC

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

2022-12-05 00:20:46 UTC

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

2022-12-05 00:20:48 UTC

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

2022-12-05 00:20:49 UTC

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

2022-12-05 00:20:51 UTC

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

2022-12-05 00:20:58 UTC

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

2022-12-05 00:21:00 UTC

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

2022-12-05 00:21:01 UTC

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

2022-12-05 00:21:03 UTC

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

2022-12-05 00:21:04 UTC

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

2022-12-05 00:21:06 UTC

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

2022-12-05 00:21:07 UTC

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

2022-12-05 00:21:08 UTC

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

2022-12-05 00:21:10 UTC

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

2022-12-05 00:21:11 UTC

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

2022-12-05 00:21:12 UTC

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

2022-12-05 00:21:14 UTC

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

2022-12-05 00:21:15 UTC

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

2022-12-05 00:21:17 UTC

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

2022-12-05 00:21:19 UTC

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

2022-12-05 00:21:20 UTC

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

2022-12-05 00:21:21 UTC

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

2022-12-05 00:21:23 UTC

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

2022-12-12 00:09:58 UTC

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

2022-12-12 00:09:59 UTC

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

2022-12-12 00:10:04 UTC

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

2022-12-12 00:10:05 UTC

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

2022-12-12 00:10:06 UTC

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

2022-12-12 00:10:07 UTC

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

2022-12-12 00:10:08 UTC

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

2022-12-12 00:10:09 UTC

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

2022-12-12 00:10:10 UTC

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

2022-12-12 00:10:11 UTC

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

2022-12-12 00:10:13 UTC

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

2022-12-12 00:10:14 UTC

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

2022-12-12 00:10:15 UTC

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

2022-12-12 00:10:16 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