Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.9-2022-11-11
Content Digest
sha256:19060f0b7773a86c5aaa3b8cd367dd9a1c344187beaf5bf02372fbec57bbd291
Details
Created

2022-11-11 14:52:36 UTC

Size

336 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

36c6f6214694ef64cc70f4127ac0ccec668408a93825359d998fb31d24968d67

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/6d265be7a6b5bc4e9c5c07646aee0bf0394be03d/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:fd31ec14dccdcda8f2472547f1a94ef0a23b8dabb764cd7b1d48aeee0afea7c8 - 14.33% (48.1 MB)

[#001] sha256:1b6422bfa32650e77d346bbb40c6b2a0dc34c863e10cfb1a117e8da9796694cd - 2.23% (7.49 MB)

[#002] sha256:335cbfc794fe106b207828e6c9d76fb72aa4631aad91b744e23442082275b8af - 2.84% (9.54 MB)

[#003] sha256:2a348ba61fbef6dec66be0354c013afc02f0bba15b891b9625ac45bb007e9726 - 14.73% (49.4 MB)

[#004] sha256:f1ac0452e7a7ce5a9781502e1bca3360740aa17c776748eb301c26ca8f5b294a - 54.68% (184 MB)

[#005] sha256:eb40fcdc9191a741561165ac56f863a3eb81a0b33c3569e5038a506ca77e5132 - 1.75% (5.86 MB)

[#006] sha256:3bdc61375b7dc3e1d44c774829a7057acf41a0ef5883bdbb7abd86047aa642e7 - 5.66% (19 MB)

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

[#008] sha256:a38d00c77bad1b7c28638e05de7a0f7529d650fc893c4622570426b64315c023 - 0.82% (2.75 MB)

[#009] sha256:6a0ce049a803f713a0602618f0e448fabe1f1ba0f8b12157344862b582c59333 - 0.0% (1.31 KB)

[#010] sha256:05fb82aa1032fd46b73c2fa6d24f9099331f5df3269690daa440912eded56de1 - 1.19% (4 MB)

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

[#012] sha256:191bf8a25ef6228eb6e148521ae3799b19266c648c181bbf2ac1a3ebc8949fb5 - 1.05% (3.53 MB)

[#013] sha256:ed0c217d2741e14c78a5c082ea7e829e5ab02bcf3eb904bd3c3b73030e1e1442 - 0.0% (178 Bytes)

[#014] sha256:eb758f9f3d04b46079e9bee30edcc72ba7a48632821a8dab79fa9cf287cb9360 - 0.0% (380 Bytes)

[#015] sha256:fa6314d2b6e9d08d474cf60a726fd505dc51d462ded23e386aec4a3c82218ce3 - 0.37% (1.25 MB)

[#016] sha256:139310c19e0efded5333f1fe8e3801d7bb49b59748dc498a84f2845c6594f716 - 0.0% (470 Bytes)

[#017] sha256:2ae32559e491fe8d4b031afad09f7dddd166fc4f388eeddcd8342da23dc5376a - 0.0% (468 Bytes)

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

[#019] sha256:998f0faf251f5dc7d35de7c12be20ad7836e2b80afe064eb38d2659c69d18218 - 0.0% (321 Bytes)

[#020] sha256:005968f4c6beafab33a13c59b2194f9380a1ac3ec206659b91cbe536a86849f6 - 0.0% (320 Bytes)

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

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

[#023] sha256:9d80d659fe04ba0a031f121830a3f7d729d5e12934878c7e1612763406ef683e - 0.0% (564 Bytes)

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

[#025] sha256:9d861422dc000f632be243ea8355343106a0528906d3f6a1c937d33cad787e92 - 0.34% (1.15 MB)

[#026] sha256:5609a1548eee3f3482aa36965a9e0772561611e189b85abcc6ab532ac41a4ab3 - 0.0% (583 Bytes)

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

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

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


History
2022-10-25 01:44:02 UTC

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

2022-10-25 01:44:02 UTC

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

2022-10-25 09:25:03 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-10-25 09:25:09 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-10-25 09:25:28 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-10-25 09:26: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/*

2022-10-26 01:44:25 UTC

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

2022-10-26 01:44:25 UTC

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

2022-10-26 01:44:32 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-10-26 03:48:31 UTC

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

2022-10-26 03:48:31 UTC

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

2022-10-26 03:55:18 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-10-26 03:55:19 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-10-26 03:55:19 UTC

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

2022-10-26 03:55:19 UTC

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

2022-10-26 03:55:19 UTC

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

2022-10-26 03:55:19 UTC

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

2022-10-26 03:55:26 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-10-26 03:55:26 UTC

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

2022-11-11 12:25:16 UTC

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

2022-11-11 12:25:17 UTC

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

2022-11-11 12:25:32 UTC

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

2022-11-11 12:25:33 UTC

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

2022-11-11 12:25:54 UTC

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

2022-11-11 12:25:55 UTC

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

2022-11-11 12:25:56 UTC

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

2022-11-11 12:25:58 UTC

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

2022-11-11 12:25:59 UTC

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

2022-11-11 12:26:06 UTC

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

2022-11-11 12:26:07 UTC

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

2022-11-11 12:26:08 UTC

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

2022-11-11 12:26:09 UTC

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

2022-11-11 12:26:10 UTC

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

2022-11-11 12:26:12 UTC

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

2022-11-11 12:26:12 UTC

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

2022-11-11 12:26:13 UTC

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

2022-11-11 12:26:15 UTC

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

2022-11-11 12:26:16 UTC

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

2022-11-11 12:26:17 UTC

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

2022-11-11 12:26:18 UTC

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

2022-11-11 12:26:19 UTC

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

2022-11-11 12:26:20 UTC

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

2022-11-11 12:26:21 UTC

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

2022-11-11 12:26:22 UTC

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

2022-11-11 12:26:23 UTC

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

2022-11-11 12:26:24 UTC

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

2022-11-11 14:52:17 UTC

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

2022-11-11 14:52:18 UTC

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

2022-11-11 14:52:23 UTC

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

2022-11-11 14:52:24 UTC

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

2022-11-11 14:52:25 UTC

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

2022-11-11 14:52:26 UTC

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

2022-11-11 14:52:27 UTC

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

2022-11-11 14:52:29 UTC

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

2022-11-11 14:52:30 UTC

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

2022-11-11 14:52:31 UTC

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

2022-11-11 14:52:32 UTC

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

2022-11-11 14:52:34 UTC

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

2022-11-11 14:52:35 UTC

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

2022-11-11 14:52:36 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