Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.5-2020-04-12
Content Digest
sha256:913b05ddbfdadf3511fc7aa307867d835f3c826fe04409887e2862fd921b4388
Details
Created

2020-04-12 10:21:21 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

0

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:667c5ac5e4a0d589529ce9033c6de1c71643bf9bcfe5200702f34df69d5c81ea - 1.27% (4.29 MB)

[#010] sha256:89d02db940708442b0c2e6b9b5ef806c40ae228d3c14eaf9c5318fd5902ecb0b - 1.01% (3.44 MB)

[#011] sha256:05db0c182c1ff5f3e59a52d4a8c119634f940d2ce1a8d7c134794149c5f782b4 - 0.0% (202 Bytes)

[#012] sha256:e7ee3add99a14437162fb19a60d746c77c92c127478b633c3b5959ab1b3a5b31 - 0.0% (177 Bytes)

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

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

[#015] sha256:546172510de3abef22313f012bfd4d775b906aa7ed26e64b718512fb12e95f91 - 0.0% (370 Bytes)

[#016] sha256:a0a1915143a8e555d43205fca62c0de9fac330f5f089bf4c7d50fd5fbba02e6b - 0.0% (320 Bytes)

[#017] sha256:2f88ac8ed7ffd6a152409a74714957b54060223cba31a8e75428c4ba3c57b962 - 0.0% (322 Bytes)

[#018] sha256:f3513eb91ecd90765d37b75930c271024f67e592548c552467f24b00375735bd - 0.0% (1.01 KB)

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

[#020] sha256:6abdef18483e29f2dc666782af320e3717d63f3cf31d604001559c3119048cbe - 0.0% (567 Bytes)

[#021] sha256:8063d883a58fc5fe176b635552409af76131f4d46d0cbf613cf67fbd62f89677 - 0.54% (1.82 MB)

[#022] sha256:73c6963f2642cf49209d316acad56ddf634355aaaf5b31f7ceb601ea18f6b98b - 0.0% (590 Bytes)

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

[#024] sha256:8ab299630d5b1e5171527da10e42a43aa2b608b3b66fe3db854f205613b87ce0 - 0.0% (638 Bytes)

[#025] sha256:c191ea7bd0e27abccfc278246c11af5387a8e938872d234484c93a5ab6fbbdd0 - 0.0% (638 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 23:22:59 UTC

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

2020-04-06 23:25:56 UTC

/bin/sh -c pip install uwsgi

2020-04-06 23:25:56 UTC

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

2020-04-06 23:25:57 UTC

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

2020-04-06 23:27:10 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 23:27:12 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 23:27:13 UTC

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

2020-04-06 23:27:15 UTC

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

2020-04-06 23:27:15 UTC

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

2020-04-06 23:27:42 UTC

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

2020-04-06 23:27:42 UTC

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

2020-04-06 23:27:43 UTC

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

2020-04-06 23:27:43 UTC

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

2020-04-06 23:27:43 UTC

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

2020-04-06 23:27:44 UTC

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

2020-04-06 23:27:44 UTC

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

2020-04-06 23:27:44 UTC

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

2020-04-06 23:27:45 UTC

/bin/sh -c #(nop) COPY file:883288a908f5667296bcbfaa396b1499338a616de3ccdfe0af167433a645e64d in /start.sh

2020-04-06 23:27:47 UTC

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

2020-04-06 23:27:47 UTC

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

2020-04-06 23:27:49 UTC

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

2020-04-06 23:27:50 UTC

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

2020-04-06 23:27:50 UTC

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

2020-04-06 23:27:50 UTC

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

2020-04-06 23:27:51 UTC

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

2020-04-12 10:21:16 UTC

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

2020-04-12 10:21:19 UTC

/bin/sh -c pip install flask

2020-04-12 10:21:19 UTC

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

2020-04-12 10:21:19 UTC

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

2020-04-12 10:21:19 UTC

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

2020-04-12 10:21:19 UTC

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

2020-04-12 10:21:19 UTC

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

2020-04-12 10:21:20 UTC

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

2020-04-12 10:21:20 UTC

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

2020-04-12 10:21:20 UTC

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

2020-04-12 10:21:21 UTC

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

2020-04-12 10:21:21 UTC

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

2020-04-12 10:21:21 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