Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.5-2019-10-14
Content Digest
sha256:ae128fe52796a12d81b88205609e958339ca4512600723f76ad664fa340a2862
Details
Created

2019-10-14 18:14:07 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

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.5.7

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:4a56a430b2bac33260d6449e162017e2b23076c6411a17b46db67f5b84dde2bd - 14.19% (48 MB)

[#001] sha256:4b5cacb629f5c5323a32103e665756e5d50fe133b3db72d444f370566b713a6a - 2.2% (7.44 MB)

[#002] sha256:14408c8d4f9a59a5da8f4cc40650be9a8d0991fa1ce1b2fb2767f289a9cc410d - 2.82% (9.53 MB)

[#003] sha256:ea67eaa7dd42136287337f879ef20b4ee73baaa108d833d267ef99dd787cdcbf - 14.58% (49.4 MB)

[#004] sha256:4d134ac3fe4b8dd8136d9e7acbb2708ead2154185b27c09ae62ca099070cfb27 - 54.09% (183 MB)

[#005] sha256:31ae88fffd1dbfc04a139140969811b50465d21da9cfc37b58ba7ca6f213acab - 1.63% (5.52 MB)

[#006] sha256:250ff0d9deb52e629e2f666b99a89e1713996fb930b95466f235d36c2cea4cd1 - 6.7% (22.7 MB)

[#007] sha256:2462712d35194700cb80dfeca1a84c5ec97dc57f016c392548d4b91aaa222bcb - 0.0% (234 Bytes)

[#008] sha256:f60ad47965560023ba23729364ab5d2a75da332edf8f10dd0124eedf1bbe5c8a - 0.52% (1.78 MB)

[#009] sha256:6257150d585c7c2df3330afd12d5dac3e6128bae8bf67ef2acda2d2d92ad3cd3 - 1.26% (4.27 MB)

[#010] sha256:e7b8dacf2b2c851297da55bdc325f10d98c59e7183bd75fa78275ddfd5b4b8c5 - 1.02% (3.44 MB)

[#011] sha256:05b87bc8af4ac28f3d8dd5c4974088dc122734fc415ecca54f8fb46bda861127 - 0.0% (204 Bytes)

[#012] sha256:68dcea8f91259fa5c29641a70a74b8cab1ac6bc765d6405f424c1eeef678c6cf - 0.0% (176 Bytes)

[#013] sha256:623892b260dfa80a84f3471deee6fda0fae4bda0417d260c5a90c21b1f88fbc7 - 0.0% (404 Bytes)

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

[#015] sha256:1e3752e82d0937d10beaeea990d237a19c480d1633a9d6efe49647a26bf16ec7 - 0.0% (369 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:28392dad4d908e6ec476501c818c9321f70f194b65595bc3164857e2be37afb6 - 0.0% (591 Bytes)

[#021] sha256:969271b73f4c885047965114047265cc313f2461227cd114da76335c3cdb156b - 0.56% (1.88 MB)

[#022] sha256:a63daafd81d6be1cc176dcde8b6dc9c5038f47b3ee791c51fcf94fc4100a80a3 - 0.0% (588 Bytes)

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

[#024] sha256:ad239675879bc8cac18c0e55895ac5c22c103a8a34d5b2a0757ea5e0a7003e7e - 0.0% (636 Bytes)

[#025] sha256:67fa04eebdfc321c775a0dfc597ee78f0b3cba1691589722cbcc839047202338 - 0.0% (636 Bytes)


History
2019-09-11 23:21:51 UTC

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

2019-09-11 23:21:51 UTC

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

2019-09-12 00:21:53 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:22:01 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:22:37 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/*

2019-09-12 00:24:03 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 15:05:51 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 15:05:51 UTC

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

2019-09-12 16:15:50 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:53:08 UTC

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

2019-09-12 16:53:08 UTC

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

2019-09-12 17:02:10 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 17:02:12 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 17:02:12 UTC

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

2019-09-12 17:02:12 UTC

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

2019-09-12 17:02:13 UTC

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

2019-09-12 17:02:21 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 17:02:21 UTC

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

2019-10-14 18:00:34 UTC

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

2019-10-14 18:01:05 UTC

/bin/sh -c pip install uwsgi

2019-10-14 18:01:05 UTC

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

2019-10-14 18:01:05 UTC

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

2019-10-14 18:01:20 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:01:21 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:01:21 UTC

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

2019-10-14 18:01:22 UTC

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

2019-10-14 18:01:22 UTC

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

2019-10-14 18:01:29 UTC

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

2019-10-14 18:01:29 UTC

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

2019-10-14 18:01:29 UTC

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

2019-10-14 18:01:29 UTC

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

2019-10-14 18:01:29 UTC

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

2019-10-14 18:01:29 UTC

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

2019-10-14 18:01:30 UTC

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

2019-10-14 18:01:30 UTC

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

2019-10-14 18:01:30 UTC

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

2019-10-14 18:01:31 UTC

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

2019-10-14 18:01:31 UTC

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

2019-10-14 18:01:32 UTC

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

2019-10-14 18:01:32 UTC

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

2019-10-14 18:01:32 UTC

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

2019-10-14 18:01:32 UTC

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

2019-10-14 18:01:32 UTC

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

2019-10-14 18:14:01 UTC

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

2019-10-14 18:14:03 UTC

/bin/sh -c pip install flask

2019-10-14 18:14:04 UTC

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

2019-10-14 18:14:04 UTC

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

2019-10-14 18:14:04 UTC

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

2019-10-14 18:14:04 UTC

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

2019-10-14 18:14:04 UTC

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

2019-10-14 18:14:04 UTC

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

2019-10-14 18:14:05 UTC

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

2019-10-14 18:14:05 UTC

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

2019-10-14 18:14:06 UTC

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

2019-10-14 18:14:06 UTC

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

2019-10-14 18:14:07 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