Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.7-2021-09-08
Content Digest
sha256:c267b222c13df67b6dda9c121a2ff8e67c1a79a3c95a155924d2964aea2b7be0
Details
Created

2021-09-08 16:36:36 UTC

Size

333 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

fa6f3fb93cce234cd4e8dd2beb54a51ab9c247653b52855a48dd44e6b21ff28b

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

21.2.4

PYTHON_VERSION

3.7.11

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:1cfaf5c6f756207bc4607d40ddd440bd2bfa7ab455b2c3015ccf56d85cd1377b - 14.43% (48.1 MB)

[#001] sha256:c4099a935a96edef1e9378de34e314d07fb3aea1b7205774055a1fa44a3819f4 - 2.24% (7.47 MB)

[#002] sha256:f6e2960d83651b1494b4da6c97686e79cc760aa90a75948eed56786726f86928 - 2.86% (9.53 MB)

[#003] sha256:dffd4e6385927b79e4d4daa2d00523e766502eed6dd1934e1eda583d348abd8b - 14.83% (49.4 MB)

[#004] sha256:2ce46ad6f244a871abfead80f28a613b68fba68e165467d817e09453b369252f - 55.03% (183 MB)

[#005] sha256:9191ad4801e98c55b42385cc39e2b6694cc8a311f6f15101d55be7c29d62f73a - 1.76% (5.86 MB)

[#006] sha256:5a4b81f88ef4bcc49ce7ffb0cd388a0530b7c9b2dd482742bc9b448561c9b4c5 - 4.67% (15.6 MB)

[#007] sha256:f4b510264444ccb8fd4fe2331902d7e2789e4dd350ac6eb043907480423c9119 - 0.0% (232 Bytes)

[#008] sha256:77a9e99492dd7b6ba2496d3421a16a6b72260033b561fb7011802f0f7f3ee4e8 - 0.67% (2.24 MB)

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

[#010] sha256:5698a2138bd0eeca9b37788f7f7d96a068e38e0a756795f5adf6973b648da5bb - 1.16% (3.87 MB)

[#011] sha256:86a5b095f1abe5974b6812fe43232466eda6ffb649f7d4f149d290e17eb065dd - 1.35% (4.5 MB)

[#012] sha256:923446e3c273770dd52d5e8e1e67d431bc051fedd446ac53294791085b56b124 - 0.0% (175 Bytes)

[#013] sha256:6a015991f9796ab474e10b25baeddd3f12221e7ec889da47f12c253489b34bfb - 0.0% (379 Bytes)

[#014] sha256:dc99e68a3e7bf54c5b47a881296a611e55d85a0e795d721b9fecf95691427d4c - 0.37% (1.25 MB)

[#015] sha256:d1d93d84fe3d90b6f2c097539a140826277a36d38fc0fa3dcf7d5dff51709313 - 0.0% (369 Bytes)

[#016] sha256:a527bd924b5fcdcb52573d1966d165dfb2a58769c34bc7507e5bbfa556efa2ed - 0.0% (321 Bytes)

[#017] sha256:c3e1a92673e8562dfb32191ba546029ceac9732dc965339963119678aced9159 - 0.0% (321 Bytes)

[#018] sha256:582e3a4a554e861a2a3f528a441de655dbf5159a400c28b01e6c4a5ae815c3d3 - 0.0% (1.15 KB)

[#019] sha256:514a1c649ce0d453490606d4a66d8cc748e8fdc7c609e4d7e07a2c06f76c89fa - 0.0% (1.15 KB)

[#020] sha256:a2a88afa7c74e704465babb40401cdefcbc54c8953f1a85a5b8b87c3230db93e - 0.0% (565 Bytes)

[#021] sha256:f97571c7fa2b30f79d3c4a3cc97c81b9b10de6f4277067e661ab4e7ab13483bc - 0.63% (2.08 MB)

[#022] sha256:3aaca90ceb4e8bec39614b4cb2e7a0c630352bfa2db644d91e1643511b864865 - 0.0% (586 Bytes)

[#023] sha256:3a15d6ec0e44ddb307e99e53cb3d807bef4ae2e7918fded6901b9a095f66ce76 - 0.0% (1.19 KB)

[#024] sha256:0db8200fcf8e1582bc7ae3c9aa3cae8ddc6b0894ee58db99890f0c2d0da436ba - 0.0% (768 Bytes)

[#025] sha256:e09de73c8463e24ef6df90c92ff39056da1b088fe3dfb53cf5a98a3d5c999171 - 0.0% (769 Bytes)


History
2021-08-17 01:23:52 UTC

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

2021-08-17 01:23:53 UTC

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

2021-08-17 09:20: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/*

2021-08-17 09:20:37 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

2021-08-17 09:21:00 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/*

2021-08-17 09:22:12 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/*

2021-08-17 15:18:53 UTC

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

2021-08-17 15:18:53 UTC

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

2021-08-17 15:18:59 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev && rm -rf /var/lib/apt/lists/*

2021-08-17 16:16:50 UTC

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

2021-08-17 16:16:50 UTC

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

2021-08-17 16:25:55 UTC

/bin/sh -c set -ex && 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" && export GNUPGHOME="$(mktemp -d)" && 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 -xJC /usr/src/python --strip-components=1 -f 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 --with-system-ffi --without-ensurepip && make -j "$(nproc)" 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 install && 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 '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + && ldconfig && python3 --version

2021-08-17 16:25:56 UTC

/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config

2021-08-17 16:25:57 UTC

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

2021-08-17 16:25:57 UTC

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

2021-08-17 16:25:57 UTC

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

2021-08-17 16:26:04 UTC

/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum --check --strict -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" ; pip --version; 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' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-08-17 16:26:04 UTC

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

2021-09-01 16:40:52 UTC

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

2021-09-01 16:40:54 UTC

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

2021-09-01 16:41:09 UTC

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

2021-09-01 16:41:10 UTC

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

2021-09-01 16:41:11 UTC

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

2021-09-01 16:41:31 UTC

/bin/sh -c pip install uwsgi

2021-09-01 16:41:32 UTC

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

2021-09-01 16:41:33 UTC

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

2021-09-01 16:41:40 UTC

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

2021-09-01 16:41:41 UTC

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

2021-09-01 16:41:42 UTC

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

2021-09-01 16:41:43 UTC

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

2021-09-01 16:41:45 UTC

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

2021-09-01 16:41:46 UTC

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

2021-09-01 16:41:47 UTC

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

2021-09-01 16:41:48 UTC

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

2021-09-01 16:41:49 UTC

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

2021-09-01 16:41:50 UTC

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

2021-09-01 16:41:51 UTC

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

2021-09-01 16:41:53 UTC

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

2021-09-01 16:41:54 UTC

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

2021-09-01 16:41:55 UTC

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

2021-09-01 16:41:56 UTC

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

2021-09-01 16:41:57 UTC

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

2021-09-08 16:36:15 UTC

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

2021-09-08 16:36:19 UTC

/bin/sh -c pip install flask

2021-09-08 16:36:21 UTC

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

2021-09-08 16:36:22 UTC

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

2021-09-08 16:36:23 UTC

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

2021-09-08 16:36:25 UTC

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

2021-09-08 16:36:26 UTC

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

2021-09-08 16:36:28 UTC

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

2021-09-08 16:36:29 UTC

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

2021-09-08 16:36:31 UTC

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

2021-09-08 16:36:33 UTC

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

2021-09-08 16:36:34 UTC

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

2021-09-08 16:36: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