Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.9-2022-04-21
Content Digest
sha256:300b7ccec27c8c8c77f975ed0b334d21200387d0ed169662d99120a3ca2e0e5a
Details
Created

2022-04-21 12:57:03 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

e235c437e5c7d7524fbce3880ca39b917a73dc565e0c813465b7a7a329bb279a

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/38e54e5de07c66e875c11a1ebbdb938854625dd8/public/get-pip.py

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

58.1.0

PYTHON_VERSION

3.9.12

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:85bed84afb9a834cf090b55d2e584abd55b4792d93b750db896f486680638344 - 14.32% (48.1 MB)

[#001] sha256:5fdd409f4b2bf3771fac1cbc2df46d1cbb4b800b154cfc33e8e0cd23e67ab3e0 - 2.23% (7.49 MB)

[#002] sha256:fa3069e6cecf9d5e43ace0a925b53849b2fd189ef41883d45d8f2e12213c2c06 - 2.84% (9.53 MB)

[#003] sha256:4ee16f45eff97cbe98b74c63ca2375b2c6b2592cd765a86df098f731baab13ad - 14.72% (49.4 MB)

[#004] sha256:2cee68386155951f51cf2088092ed4b624b2ba9c36b2ec378ab041cb5bcea514 - 54.71% (184 MB)

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

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

[#007] sha256:e1d2addc179ac222db175a224e447bdafd1d617633bd287bf04aab208595d4a5 - 0.0% (233 Bytes)

[#008] sha256:62be1627f2d7146f1fcb1b5ab2a76ec5288838e09c8f3a775e55e677f70f5707 - 0.82% (2.74 MB)

[#009] sha256:913527d5c174c04545e97fb3438ca4a3fceb404bfd6e3967202a8e9966b05150 - 0.0% (1.31 KB)

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

[#011] sha256:72650c204e0f60e2c94e18a943681022131ff3aa8eb95afee96adeca21bcc1e1 - 0.0% (159 Bytes)

[#012] sha256:34e6ba4d28e7db1bd4d1fe9d4cb189feb1eece17e3d2a59221393dbae5fcedf3 - 1.05% (3.53 MB)

[#013] sha256:4d24e3f6bb07f9432f379693f3d394ae6a3f5b4b4b50f1094ec96648dcd6deda - 0.0% (174 Bytes)

[#014] sha256:1ddffc356b660120cb1852f7b1fd6cb6fe6e8c6d991e214f5260f9ad95509535 - 0.0% (379 Bytes)

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

[#016] sha256:a049599ef624a80a233e6bee9678338b059db4206132d5f356be0c8ace09edf6 - 0.0% (467 Bytes)

[#017] sha256:4db65598bb31b8f0bf8e8718c8a422178f11f30e69564f61550c3e7bac1cbbf0 - 0.0% (468 Bytes)

[#018] sha256:13757464b9464096fa1eb2c9351522744a06aa2935b3d8724c356993d7e53c8e - 0.0% (465 Bytes)

[#019] sha256:4f173cb760ae84aec751167e23bf7ef8b56de7022b881d1be6cad24433965f3a - 0.0% (320 Bytes)

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

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

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

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

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

[#025] sha256:90c9b3db6880904b293fc2e5089fad4202ed31f3b09611d848604fe5dad3aac4 - 0.34% (1.14 MB)

[#026] sha256:5b3bbb53b0a406d03ea06d39504527c4b28620661040ea4ccc15e09ae9e59b40 - 0.0% (584 Bytes)

[#027] sha256:887fbd4ef4ffb2ec7366c9b31bde5afdc63bf7826f8af37ea245ce12dc52fa24 - 0.0% (1.18 KB)

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

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


History
2022-04-20 04:43:37 UTC

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

2022-04-20 04:43:37 UTC

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

2022-04-20 06:59:01 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-04-20 06:59:07 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-04-20 06:59:22 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-04-20 07:00:08 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-04-20 17:59:40 UTC

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

2022-04-20 17:59:40 UTC

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

2022-04-20 17:59:46 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-04-20 18:41:15 UTC

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

2022-04-20 18:41:15 UTC

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

2022-04-20 18:47:47 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-04-20 18:47:48 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-04-20 18:47:48 UTC

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

2022-04-20 18:47:48 UTC

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

2022-04-20 18:47:48 UTC

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

2022-04-20 18:47:48 UTC

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

2022-04-20 18:47:55 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-04-20 18:47:55 UTC

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

2022-04-21 12:43:24 UTC

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

2022-04-21 12:43:25 UTC

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

2022-04-21 12:43:49 UTC

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

2022-04-21 12:43:51 UTC

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

2022-04-21 12:44:11 UTC

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

2022-04-21 12:44:12 UTC

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

2022-04-21 12:44:13 UTC

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

2022-04-21 12:44:15 UTC

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

2022-04-21 12:44:16 UTC

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

2022-04-21 12:44:23 UTC

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

2022-04-21 12:44:24 UTC

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

2022-04-21 12:44:25 UTC

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

2022-04-21 12:44:26 UTC

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

2022-04-21 12:44:27 UTC

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

2022-04-21 12:44:28 UTC

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

2022-04-21 12:44:29 UTC

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

2022-04-21 12:44:31 UTC

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

2022-04-21 12:44:32 UTC

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

2022-04-21 12:44:33 UTC

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

2022-04-21 12:44:34 UTC

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

2022-04-21 12:44:35 UTC

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

2022-04-21 12:44:36 UTC

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

2022-04-21 12:44:38 UTC

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

2022-04-21 12:44:39 UTC

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

2022-04-21 12:44:40 UTC

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

2022-04-21 12:44:41 UTC

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

2022-04-21 12:44:42 UTC

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

2022-04-21 12:56:47 UTC

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

2022-04-21 12:56:48 UTC

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

2022-04-21 12:56:51 UTC

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

2022-04-21 12:56:52 UTC

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

2022-04-21 12:56:53 UTC

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

2022-04-21 12:56:54 UTC

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

2022-04-21 12:56:55 UTC

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

2022-04-21 12:56:56 UTC

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

2022-04-21 12:56:57 UTC

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

2022-04-21 12:56:59 UTC

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

2022-04-21 12:57:00 UTC

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

2022-04-21 12:57:01 UTC

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

2022-04-21 12:57:02 UTC

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

2022-04-21 12:57:03 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