Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:latest-2023-04-24
Content Digest
sha256:9484d0b1889a1e56a9fcb590d7274bd5e3e9a50d9ccd908ee754e28d1e3c81a8
Details
Created

2023-04-24 00:10:23 UTC

Size

348 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

394be00f13fa1b9aaa47e911bdb59a09c3b2986472130f30aa0bfaf7f3980637

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

22.3.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.11.3

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:b0248cf3e63c73d0e496a67807d056ca41d5e968b61087e8eca2cf4b9b4d7b99 - 15.08% (52.5 MB)

[#001] sha256:127e97b4daf784e08840a21765f0d4f251192ef2994d0e4a253490f81e63955b - 1.41% (4.93 MB)

[#002] sha256:0336c50c9f6942b660e433b1086238eec37057c34b14c4e3b28bd7bf05bd84ba - 2.98% (10.4 MB)

[#003] sha256:1b89f3c7f7da8adf032a33a75d1b659cee33179ecb88ea0ba75e4fc58ebe63a6 - 14.95% (52.1 MB)

[#004] sha256:2d62772179761f8fddfaed03ed2bdf7078b103b193d18d79a9b49364830d56cf - 53.9% (188 MB)

[#005] sha256:273fcda609d894158ae396f62b319d33f7b02266fbf6bd88c4950771f1a40a83 - 1.72% (6 MB)

[#006] sha256:58568d3a3a00f237aa417fbeba3c2305c1f72d6cc287f76f1a49871769936265 - 5.48% (19.1 MB)

[#007] sha256:56fc9fb54f6e0f9971ea4f8cfafad8d7c7c136cd6ad242d44b18f7257b0ea400 - 0.0% (243 Bytes)

[#008] sha256:8a22f29afe363cd399203a41351533fb117afa72400337da52b91ce5fb198ff8 - 0.84% (2.94 MB)

[#009] sha256:89b0e14da6c7c7db394e7ab0577f7dc59de29fb86788aac46730c14f0b295af0 - 0.0% (1.29 KB)

[#010] sha256:77d5ba8b145aa46e8ab59eaeefeb8ac621f5480a82e188bb1a2600838cfed964 - 1.18% (4.1 MB)

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

[#012] sha256:a14c61858a1b502b865706d06ee3e952bebc685f10d01dd9c715ebe947e25e42 - 1.65% (5.76 MB)

[#013] sha256:9ee3dca7841ea4986ebd9aa07eaa2ffadb70b51f56972c2c45c5495c20144d9d - 0.0% (175 Bytes)

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

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

[#016] sha256:5d0a936f8efc90803fb85fb470216cc9acdffd7cc111f0206700715771f657fd - 0.0% (465 Bytes)

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

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

[#019] sha256:c33dc9801fd5b7d4a8647963b375e5131605bb201f306ec32074cd9762a5edc6 - 0.0% (319 Bytes)

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

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

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

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

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

[#025] sha256:1c9a795e68e619e4175adde570582e46000233b4eb076ba142174754e9c7167c - 0.44% (1.54 MB)

[#026] sha256:2ab9a5c1eca8dad583ddfdcff30a2b1eb494955b4b8787e50a400c5a799fdc93 - 0.0% (585 Bytes)

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

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

[#029] sha256:c27653bf571be4f3dedbc9af0595b4f1cfede6d5f39fa9909a8111e6f469f3fe - 0.0% (770 Bytes)


History
2023-04-12 00:19:55 UTC

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

2023-04-12 00:19:56 UTC

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

2023-04-12 07:50:59 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-04-12 07:51:04 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-04-12 07:51:20 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-04-12 07:52:18 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-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

RUN /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/* # buildkit

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.3

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

RUN /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)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; 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 # buildkit

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=22.3.1

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/d5cb0afaf23b8520f1bbcfed521017b4a95f5c01/public/get-pip.py

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=394be00f13fa1b9aaa47e911bdb59a09c3b2986472130f30aa0bfaf7f3980637

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

RUN /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 # buildkit

2023-04-12 07:52:18 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-04-17 00:19:04 UTC

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

2023-04-17 00:19:05 UTC

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

2023-04-17 00:19:18 UTC

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

2023-04-17 00:19:19 UTC

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

2023-04-17 00:19:43 UTC

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

2023-04-17 00:19:44 UTC

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

2023-04-17 00:19:45 UTC

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

2023-04-17 00:19:46 UTC

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

2023-04-17 00:19:48 UTC

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

2023-04-17 00:19:53 UTC

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

2023-04-17 00:19:54 UTC

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

2023-04-17 00:19:56 UTC

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

2023-04-17 00:19:57 UTC

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

2023-04-17 00:19:58 UTC

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

2023-04-17 00:20:00 UTC

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

2023-04-17 00:20:01 UTC

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

2023-04-17 00:20:02 UTC

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

2023-04-17 00:20:03 UTC

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

2023-04-17 00:20:04 UTC

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

2023-04-17 00:20:06 UTC

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

2023-04-17 00:20:07 UTC

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

2023-04-17 00:20:08 UTC

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

2023-04-17 00:20:10 UTC

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

2023-04-17 00:20:11 UTC

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

2023-04-17 00:20:12 UTC

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

2023-04-17 00:20:13 UTC

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

2023-04-17 00:20:15 UTC

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

2023-04-24 00:09:59 UTC

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

2023-04-24 00:10:00 UTC

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

2023-04-24 00:10:08 UTC

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

2023-04-24 00:10:09 UTC

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

2023-04-24 00:10:10 UTC

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

2023-04-24 00:10:11 UTC

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

2023-04-24 00:10:13 UTC

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

2023-04-24 00:10:14 UTC

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

2023-04-24 00:10:15 UTC

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

2023-04-24 00:10:17 UTC

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

2023-04-24 00:10:18 UTC

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

2023-04-24 00:10:20 UTC

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

2023-04-24 00:10:21 UTC

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

2023-04-24 00:10:23 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