Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.6-index-2019-10-14
Content Digest
sha256:90ca277267e964696346ba506f363056c982cc0304575892fd09319afaad4ddd
Details
Created

2019-10-14 18:17:35 UTC

Size

350 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_VERSION

1.15.8-1~stretch

NGINX_WORKER_PROCESSES

1

NJS_VERSION

1.15.8.0.2.7-1~stretch

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHONPATH

/app

PYTHON_GET_PIP_SHA256

57e3643ff19f018f8a00dfaa6b7e4620e3c1a7a2171fd218425366ec006b3bfe

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/309a56c5fd94bd1134053a541cb4657a4e47e09d/get-pip.py

PYTHON_PIP_VERSION

19.2.3

PYTHON_VERSION

3.6.9

STATIC_INDEX

1

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:092586df92068bd6b59c497f379e48302aa1b27cf76b2de64d262ba7bc19e47b - 12.35% (43.3 MB)

[#001] sha256:ef599477fae0e7485cae7d038240cda6358b3af22c7eb4ea502c60771b68dcae - 2.94% (10.3 MB)

[#002] sha256:4530c6472b5d2a08201c9cd65f43a788e526eb4fe498a4fbe5e4d5688535cd21 - 1.18% (4.14 MB)

[#003] sha256:d34d61487075d127bf6dd2906ea3abc50e0a3cd9aa2f230fc41b253b153a17ee - 13.62% (47.7 MB)

[#004] sha256:87fc2710b63fcf6c0a5c876b1b37773d9e949cb4d66eeb06889ef84f7b5a5a93 - 58.46% (205 MB)

[#005] sha256:d8d026f66492e59a07ad412bb79a4e8bdf62a0c79c4413579cf486f960a19531 - 1.56% (5.48 MB)

[#006] sha256:37f641ab98e8e917fadc13f7154d62cfbc9022bdb5f2c9bed4200520ce0ed1e8 - 6.27% (22 MB)

[#007] sha256:9b5aa74afb7d376c4eb56aa712f4d2f1a5953c4b8bd49b87139e095607c8c066 - 0.0% (240 Bytes)

[#008] sha256:558891f1ffe21c37c783226e0a2cbd5d95e8a56f74a9ffa1ea80e8b32187a093 - 0.51% (1.78 MB)

[#009] sha256:dc4fa62b2ebb449cc16ecba78b89dbaba3e072a856ef60cf4511d21f1e61e7e6 - 0.94% (3.28 MB)

[#010] sha256:f9456ab8bb1164a709602ae4e8cef9fb2c6b66573d5d47b12a82f897a0a61893 - 0.0% (204 Bytes)

[#011] sha256:b9f8db571e598007f883d039750e6d41118e15690b3fe985f51dd34b26ef5d2c - 1.21% (4.23 MB)

[#012] sha256:870cdac551002d66fbabc4fff8b29c58dce611ed27209543391e3c7786472dc6 - 0.0% (175 Bytes)

[#013] sha256:1aa5b46035b1977cba81542cc8f3e67ae3d67e40cbf8e258f77a63ecf5ff3b3a - 0.0% (404 Bytes)

[#014] sha256:b01dec868877dc9b5094bcffc12358999395dcd586f5a290c1b37c6bd57b62b3 - 0.42% (1.48 MB)

[#015] sha256:29e0d573d744c4b530ca895da8f747e1dfea29607be05d1005540124d3a37828 - 0.0% (368 Bytes)

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

[#017] sha256:c360e50374de4ea6651a2f5cfe92f4985796e704802d8051d7ea4a451e089c3b - 0.0% (320 Bytes)

[#018] sha256:ebc88e28ef19288bd39c071af2d7ebbb9be20b69277a8301c0653d5d2b4f2d06 - 0.0% (1 KB)

[#019] sha256:29148873625b5c2effe1f3fa062465dfe6808a0066eef578d269e7a94b5baad8 - 0.0% (1 KB)

[#020] sha256:06ab27b8c85da52099467304a2fe8dd92b2b890c87448186bd27a5dd81afa353 - 0.0% (590 Bytes)

[#021] sha256:097a2a3a4375aaf4365b5ad92fd4cbb1468f122d18c3cdc52b2070db8ea46bc8 - 0.54% (1.88 MB)

[#022] sha256:0449f758fa8d76350a0bb6d6253d1538b3f714e753b7e658b58805ff509f08a3 - 0.0% (587 Bytes)

[#023] sha256:1651265ea2ecdfec3f42b3c4e6f70358782a747926560626d9a130ba0a9467ca - 0.0% (1.04 KB)

[#024] sha256:220df30b590f418d357d15c086efc896cb56b3731b23a313e8a2b9b79209e343 - 0.0% (635 Bytes)

[#025] sha256:b5c1676bc9c20f3239776c0e52794742a056b5d5389385d2b39f77e5a7fb6e5c - 0.0% (639 Bytes)

[#026] sha256:6027a77914cd47931cbcacf8c7d5c5cf8c5cf1f2be78fa032606f270decbcc66 - 0.0% (596 Bytes)


History
2019-09-11 23:27:26 UTC

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

2019-09-11 23:27:26 UTC

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

2019-09-12 00:34:50 UTC

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

2019-09-12 00:34:56 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

2019-09-12 00:35:30 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzr git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*

2019-09-12 00:37:14 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/*

2019-09-12 13:31:38 UTC

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

2019-09-12 13:31:38 UTC

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

2019-09-12 16:36:01 UTC

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

2019-09-12 16:36:02 UTC

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

2019-09-12 16:36:02 UTC

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

2019-09-12 16:43:36 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 ha.pool.sks-keyservers.net --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-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 && ldconfig && find /usr/local -depth \( \( -type d -a \( -name test -o -name tests \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' + && rm -rf /usr/src/python && python3 --version

2019-09-12 16:43:37 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

2019-09-12 16:43:37 UTC

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

2019-09-12 16:43:38 UTC

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

2019-09-12 16:43:38 UTC

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

2019-09-12 16:43:47 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 \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2019-09-12 16:43:47 UTC

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

2019-10-14 18:02:13 UTC

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

2019-10-14 18:02:13 UTC

/bin/sh -c #(nop) ENV NGINX_VERSION=1.15.8-1~stretch

2019-10-14 18:02:13 UTC

/bin/sh -c #(nop) ENV NJS_VERSION=1.15.8.0.2.7-1~stretch

2019-10-14 18:02:30 UTC

/bin/sh -c set -x && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y gnupg1 apt-transport-https ca-certificates && NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; found=''; for server in ha.pool.sks-keyservers.net hkp://keyserver.ubuntu.com:80 hkp://p80.pool.sks-keyservers.net:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; apt-key adv --no-tty --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; apt-get remove --purge --auto-remove -y gnupg1 && rm -rf /var/lib/apt/lists/* && dpkgArch="$(dpkg --print-architecture)" && nginxPackages=" nginx=${NGINX_VERSION} nginx-module-xslt=${NGINX_VERSION} nginx-module-geoip=${NGINX_VERSION} nginx-module-image-filter=${NGINX_VERSION} nginx-module-njs=${NJS_VERSION} " && case "$dpkgArch" in amd64|i386) echo "deb https://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list.d/nginx.list && apt-get update ;; *) echo "deb-src https://nginx.org/packages/mainline/debian/ stretch nginx" >> /etc/apt/sources.list.d/nginx.list && tempDir="$(mktemp -d)" && chmod 777 "$tempDir" && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get build-dep -y $nginxPackages && ( cd "$tempDir" && DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" apt-get source --compile $nginxPackages ) && apt-mark showmanual | xargs apt-mark auto > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; } && ls -lAFh "$tempDir" && ( cd "$tempDir" && dpkg-scanpackages . > Packages ) && grep '^Package: ' "$tempDir/Packages" && echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list && apt-get -o Acquire::GzipIndexes=false update ;; esac && apt-get install --no-install-recommends --no-install-suggests -y $nginxPackages gettext-base && rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/nginx.list && if [ -n "$tempDir" ]; then apt-get purge -y --auto-remove && rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; fi

2019-10-14 18:02:31 UTC

/bin/sh -c ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log

2019-10-14 18:02:31 UTC

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

2019-10-14 18:02:31 UTC

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

2019-10-14 18:03:03 UTC

/bin/sh -c pip install uwsgi

2019-10-14 18:03:03 UTC

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

2019-10-14 18:03:04 UTC

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

2019-10-14 18:03:10 UTC

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

2019-10-14 18:03:10 UTC

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

2019-10-14 18:03:11 UTC

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

2019-10-14 18:03:11 UTC

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

2019-10-14 18:03:11 UTC

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

2019-10-14 18:03:11 UTC

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

2019-10-14 18:03:11 UTC

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

2019-10-14 18:03:11 UTC

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

2019-10-14 18:03:12 UTC

/bin/sh -c #(nop) COPY file:2c261cc3cc6f57c89ae9c471a8c35439bf01aae90de6f2de3a53fe751152bcd1 in /start.sh

2019-10-14 18:03:12 UTC

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

2019-10-14 18:03:13 UTC

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

2019-10-14 18:03:13 UTC

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

2019-10-14 18:03:13 UTC

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

2019-10-14 18:03:14 UTC

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

2019-10-14 18:03:14 UTC

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

2019-10-14 18:03:14 UTC

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

2019-10-14 18:14:47 UTC

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

2019-10-14 18:14:50 UTC

/bin/sh -c pip install flask

2019-10-14 18:14:50 UTC

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

2019-10-14 18:14:50 UTC

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

2019-10-14 18:14:50 UTC

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

2019-10-14 18:14:50 UTC

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

2019-10-14 18:14:51 UTC

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

2019-10-14 18:14:51 UTC

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

2019-10-14 18:14:51 UTC

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

2019-10-14 18:14:52 UTC

/bin/sh -c #(nop) COPY file:14e22b264e6bbf342348821bef4d166875ccfdd753aa6780486636f4071491d2 in /entrypoint.sh

2019-10-14 18:14:52 UTC

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

2019-10-14 18:14:53 UTC

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

2019-10-14 18:14:53 UTC

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

2019-10-14 18:17:34 UTC

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

2019-10-14 18:17:34 UTC

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

2019-10-14 18:17:34 UTC

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

2019-10-14 18:17:35 UTC

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

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