Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.7-2023-05-29
Content Digest
sha256:dbeccc351fd3d09fbd1cc2dae9ced36608d1f196f2e173aa4924c667a62b748f
Details
Created

2023-05-29 00:09:53 UTC

Size

341 MB

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

Environment
GPG_KEY

0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D

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

96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

22.0.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.7.16

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:918547b9432687b1e1d238e82dc1e0ea0b736aafbf3c402eea98c6db81a9cb65 - 15.41% (52.5 MB)

[#001] sha256:5d79063a01c561833dc6546d4e647fda0121a59e1a9a17874a3e30854555475e - 4.41% (15 MB)

[#002] sha256:4eedd9c5abf7e5f63753a5e788cb0872a715fa1141e8ce5ea87638e6cd370a41 - 15.28% (52.1 MB)

[#003] sha256:9cdadd40055fb82fef74a0a38f29fb1ee7b6922e18370ebdc3502ec66f79fa3f - 55.11% (188 MB)

[#004] sha256:2a12d0031f3fc457f41eaa0e29c0eaf4ba1376735aa940268ebccc76abb49f04 - 1.76% (6 MB)

[#005] sha256:90d484c7662204e660b068e0fa6f27803d5541aa7b11a154c71b352991399ab4 - 4.2% (14.3 MB)

[#006] sha256:78f2ea3ce4a383a375a448c469383180aa70aacde2cb8e08980d2c0a12c59aa1 - 0.0% (243 Bytes)

[#007] sha256:99dc9e020d3e318ff81dd9675183d1e1ad8abdd5b4d3414bc9b0e1c53d2a6124 - 0.81% (2.77 MB)

[#008] sha256:12416b4b2bb7ac3d3f1791ded2ec93066cb655a85e16d3f9e41c6026fa51965a - 0.0% (1.29 KB)

[#009] sha256:f3b6511258786f6ad6ba5690839e183783743ebd50d2505658bf3703da3e3d78 - 1.2% (4.1 MB)

[#010] sha256:0da989ad3eb045b4644a3a9cf76fda50f36b13c69c1f14f94b934b4d58ca5e6d - 0.0% (158 Bytes)

[#011] sha256:08653ce145088c8d5daca425af396bb4d8cefe7dbd4b1aefed706f3c31774476 - 1.05% (3.58 MB)

[#012] sha256:5439a228fc2c17d055ac1c162f543f74314450d7389ed11d63d6dd69d3d0870c - 0.0% (175 Bytes)

[#013] sha256:8b14c06a76113d2c031bea76ccf5f57526f7d0b4f4a576084ed72113affc51cd - 0.0% (379 Bytes)

[#014] sha256:7277d78dee4abad844968f39089e8fe12e2c8aefbf40866355e42959c66065af - 0.38% (1.28 MB)

[#015] sha256:b0f04b7b85f6ba8cf428e707bea9f0c1332a012235f0c0803bb51cd25a9b6e15 - 0.0% (468 Bytes)

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

[#017] sha256:b4e07efc35b6d76c6e888d0c6e09d01498e550ec9aa6c24e6a6c5bb9fe358b19 - 0.0% (466 Bytes)

[#018] sha256:d55719ab9da61f469d41361be8a48a4bf4e25af680359674ed84dca6406b9217 - 0.0% (321 Bytes)

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

[#020] sha256:de3b6ba3df830a3172ac00e5a2c079d93ad75b37dc4731c2f4001815cd48e8f3 - 0.0% (1.15 KB)

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

[#022] sha256:799ac633b44053e1081418bec0fc0209593a04420872c271a53239a255769863 - 0.0% (565 Bytes)

[#023] sha256:f9c44dfa6cca8f69ba77743fe2b41b40baa03082d3da9bbb03082e5435b0c237 - 0.0% (158 Bytes)

[#024] sha256:cbcda369a56873b0718bbb7d1be34e8dddeb7c4646a5ef6ba3101343cffbcb74 - 0.37% (1.27 MB)

[#025] sha256:81473f48761f3a48c5f450a6520ccf1b5bdfbcb4ce315dd640bdef546c14cae4 - 0.0% (584 Bytes)

[#026] sha256:fd3f5bc999d4551ee3b510c5d5a7c4fd4239df42a472d96aec51c426cfa6682c - 0.0% (1.19 KB)

[#027] sha256:4c5e35322aaa83f2efc5e80850e209c585cb88813a1f2a2c5ae46c5c8f307ff0 - 0.0% (769 Bytes)

[#028] sha256:ec56865c616cf634efd7b54c4b30c7f27f39f2df46f3cb0d49f1db484a929993 - 0.0% (770 Bytes)


History
2023-05-02 23:46:50 UTC

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

2023-05-02 23:46:51 UTC

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

2023-05-03 19:58:13 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget ; rm -rf /var/lib/apt/lists/*

2023-05-03 19:58: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/*

2023-05-03 19:59:27 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-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

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

2023-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-05-03 19:59:27 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-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D

2023-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.7.16

2023-05-03 19:59:27 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; 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)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; PROFILE_TASK='-m test.regrtest --pgo test_array test_base64 test_binascii test_binhex test_binop test_bytes test_c_locale_coercion test_class test_cmath test_codecs test_compile test_complex test_csv test_decimal test_dict test_float test_fstring test_hashlib test_io test_iter test_json test_long test_math test_memoryview test_pickle test_re test_set test_slice test_struct test_threading test_time test_traceback test_unicode '; 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' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + ; ldconfig; python3 --version # buildkit

2023-05-03 19:59:27 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-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=22.0.4

2023-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2023-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

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

2023-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=96461deced5c2a487ddc65207ec5a9cffeca0d34e7af7ea1afc470ff0d746207

2023-05-03 19:59:27 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-05-03 19:59:27 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-05-22 00:19:45 UTC

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

2023-05-22 00:19:46 UTC

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

2023-05-22 00:19:59 UTC

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

2023-05-22 00:20:00 UTC

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

2023-05-22 00:20:21 UTC

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

2023-05-22 00:20:22 UTC

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

2023-05-22 00:20:23 UTC

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

2023-05-22 00:20:24 UTC

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

2023-05-22 00:20:25 UTC

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

2023-05-22 00:20:30 UTC

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

2023-05-22 00:20:31 UTC

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

2023-05-22 00:20:32 UTC

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

2023-05-22 00:20:34 UTC

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

2023-05-22 00:20:35 UTC

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

2023-05-22 00:20:36 UTC

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

2023-05-22 00:20:37 UTC

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

2023-05-22 00:20:38 UTC

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

2023-05-22 00:20:38 UTC

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

2023-05-22 00:20:40 UTC

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

2023-05-22 00:20:41 UTC

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

2023-05-22 00:20:42 UTC

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

2023-05-22 00:20:43 UTC

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

2023-05-22 00:20:44 UTC

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

2023-05-22 00:20:45 UTC

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

2023-05-22 00:20:46 UTC

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

2023-05-22 00:20:47 UTC

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

2023-05-22 00:20:48 UTC

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

2023-05-29 00:09:37 UTC

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

2023-05-29 00:09:39 UTC

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

2023-05-29 00:09:42 UTC

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

2023-05-29 00:09:43 UTC

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

2023-05-29 00:09:44 UTC

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

2023-05-29 00:09:45 UTC

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

2023-05-29 00:09:46 UTC

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

2023-05-29 00:09:47 UTC

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

2023-05-29 00:09:48 UTC

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

2023-05-29 00:09:49 UTC

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

2023-05-29 00:09:50 UTC

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

2023-05-29 00:09:51 UTC

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

2023-05-29 00:09:52 UTC

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

2023-05-29 00:09:53 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