Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.5-index-2020-04-06
Content Digest
sha256:3069929366b23526257003629ebbf7ff90e8d2783f054bff758ca316d56b099d
Details
Created

2020-04-06 16:06:41 UTC

Size

339 MB

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

Environment
GPG_KEY

97FC712E4C024BBEA48A61ED3A5CA953F73C700D

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

421ac1d44c0cf9730a088e337867d974b91bdce4ea2636099275071878cc189e

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

20.0.2

PYTHON_VERSION

3.5.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:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e - 14.17% (48 MB)

[#001] sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 - 2.2% (7.45 MB)

[#002] sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 - 2.81% (9.53 MB)

[#003] sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 - 14.57% (49.4 MB)

[#004] sha256:2447a2c119076510a07d71cfcec029fceac2e59eea21fc7b39cf0eb234d3798e - 54.05% (183 MB)

[#005] sha256:da3a3213d74f097a47dc0a367fdf7d2581b63d8381415ee19d5da3104ed426dd - 1.73% (5.86 MB)

[#006] sha256:a62993dd1d33caeae127161fd96dff2744a902ba7ff071ddb052cdfaeef6900b - 6.68% (22.7 MB)

[#007] sha256:89c8d9531936d9143d23a108284836f884719ed4aa32c0d5fc0213daea1e5e95 - 0.0% (234 Bytes)

[#008] sha256:6af1ef6c5fe56be8982acdf5367aa63e0a58b63f8d8f3912e71920077a810c77 - 0.53% (1.8 MB)

[#009] sha256:60e153727fa7aaf9a0b95e69b8c98504e2127b8a8eff3765cc445668ed24f98a - 1.27% (4.29 MB)

[#010] sha256:8b41ea86465e6565eaa156fe2b4cc66b1163fda6b8022d969c739191276b2837 - 1.01% (3.44 MB)

[#011] sha256:22e43e14726663c3bf163dac74d339306e0143946d141f5435ac23b909704c45 - 0.0% (204 Bytes)

[#012] sha256:e4127e6f1e0dd54244ebac97d1579612b8ac5b603eca1dcfce38ff403fd117d2 - 0.0% (174 Bytes)

[#013] sha256:efc962c2d2b803a017c178d595543c5b0ee8b3614db54a8c5015fae4ee97249a - 0.0% (403 Bytes)

[#014] sha256:ec6a706626c010bfd104335b92a81b69b53aace5f5276832b566fb1a61430364 - 0.44% (1.48 MB)

[#015] sha256:a42bdd1d605da3125645e4e043ee81ac8c836cc9e91ba2320809ffa1f4be00e3 - 0.0% (367 Bytes)

[#016] sha256:a49098a6240b0526ed0b51dac41d1cd29d935a43d2e8c5a1ed26e9acff1cce5f - 0.0% (319 Bytes)

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

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

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

[#020] sha256:8677a7523fbaa01e708867aa92e53680a5c064d286787da30a9ae25bd2ba42de - 0.0% (589 Bytes)

[#021] sha256:9b619908bfd196f8fd9b2e6219bafcbae19011f1af3ab79eba8c79ea7d802f40 - 0.54% (1.81 MB)

[#022] sha256:0adba2ce5d7920200becc42f092abec5c05a8f1f9f5cd7fc3dc31fbbb4050766 - 0.0% (590 Bytes)

[#023] sha256:442186a9acb1ae529df4c06b523d9ad1d64f5372cfe8c4febf5aed3c7510feb0 - 0.0% (1.04 KB)

[#024] sha256:05ab29848b208e9a444f5da2a8a8f50f46827445d78c5d1a7ea2697b8ce75d61 - 0.0% (638 Bytes)

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

[#026] sha256:abf8c32a5e5506fac71017bc0210ce433291fd91a4703ab63abdd6295de65d58 - 0.0% (597 Bytes)


History
2020-03-31 01:20:44 UTC

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

2020-03-31 01:20:45 UTC

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

2020-03-31 01:56:35 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/*

2020-03-31 01:56:45 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

2020-03-31 01:57:07 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/*

2020-03-31 01:58:09 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/*

2020-03-31 15:01:24 UTC

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

2020-03-31 15:01:24 UTC

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

2020-03-31 16:17:51 UTC

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

2020-03-31 16:50:10 UTC

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

2020-03-31 16:50:10 UTC

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

2020-03-31 16:57:43 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-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 && ldconfig && 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 -rf /usr/src/python && python3 --version

2020-03-31 16:57:44 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

2020-03-31 16:57:44 UTC

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

2020-03-31 16:57:44 UTC

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

2020-03-31 16:57:45 UTC

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

2020-03-31 16:57:50 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

2020-03-31 16:57:51 UTC

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

2020-04-06 15:59:28 UTC

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

2020-04-06 15:59:53 UTC

/bin/sh -c pip install uwsgi

2020-04-06 15:59:53 UTC

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

2020-04-06 15:59:53 UTC

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

2020-04-06 16:00:05 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

2020-04-06 16:00:05 UTC

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

2020-04-06 16:00:06 UTC

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

2020-04-06 16:00:06 UTC

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

2020-04-06 16:00:06 UTC

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

2020-04-06 16:00:11 UTC

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

2020-04-06 16:00:12 UTC

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

2020-04-06 16:00:12 UTC

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

2020-04-06 16:00:12 UTC

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

2020-04-06 16:00:12 UTC

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

2020-04-06 16:00:12 UTC

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

2020-04-06 16:00:12 UTC

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

2020-04-06 16:00:13 UTC

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

2020-04-06 16:00:13 UTC

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

2020-04-06 16:00:13 UTC

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

2020-04-06 16:00:13 UTC

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

2020-04-06 16:00:14 UTC

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

2020-04-06 16:00:14 UTC

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

2020-04-06 16:00:14 UTC

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

2020-04-06 16:00:15 UTC

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

2020-04-06 16:00:15 UTC

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

2020-04-06 16:03:12 UTC

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

2020-04-06 16:03:14 UTC

/bin/sh -c pip install flask

2020-04-06 16:03:14 UTC

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

2020-04-06 16:03:14 UTC

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

2020-04-06 16:03:14 UTC

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

2020-04-06 16:03:14 UTC

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

2020-04-06 16:03:15 UTC

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

2020-04-06 16:03:15 UTC

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

2020-04-06 16:03:15 UTC

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

2020-04-06 16:03:16 UTC

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

2020-04-06 16:03:16 UTC

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

2020-04-06 16:03:16 UTC

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

2020-04-06 16:03:17 UTC

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

2020-04-06 16:06:40 UTC

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

2020-04-06 16:06:41 UTC

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

2020-04-06 16:06:41 UTC

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

2020-04-06 16:06:41 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