Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python2.7-2019-10-14
Content Digest
sha256:60771ce5e3ccba2824c0977bbae52b50d8957963d618d89e50ca785e18b3e68c
Details
Created

2019-10-14 18:12:57 UTC

Size

335 MB

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

Environment
GPG_KEY

C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF

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

PYTHONIOENCODING

UTF-8

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

2.7.16

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.36% (48 MB)

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

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

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

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

[#005] sha256:2e009887a409c31ed63bd9b38aae2de21bd944067420dccfb1f4029b356c3eec - 1.65% (5.52 MB)

[#006] sha256:adb876b6ea0f0904150da204e012761c3f0159fff00e8ca9458c7ba54f4cd4fb - 4.73% (15.8 MB)

[#007] sha256:19f9812823bb8080f70de35ebf83c34f35aeb8113f68272560aae199be7def4d - 0.53% (1.77 MB)

[#008] sha256:aabbe3b30f01fa1dee4e9919b6c719d2901e4d0c5bfd6e1fa22e6cbf689b5de4 - 1.47% (4.92 MB)

[#009] sha256:d6f21556fc975f0bb28db67c0400c9eecbef88976edca76261fd179a5509d87c - 0.68% (2.29 MB)

[#010] sha256:3a997241346f15fa088370d34af9363a5ed636ea9842f7b4b79a17eb9209ad4c - 1.03% (3.44 MB)

[#011] sha256:33bf32a99b1096e11069bc99fa1faddd6f39c7b3476d14f6b3e511adb3415497 - 0.0% (204 Bytes)

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

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

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

[#015] sha256:3611542574aa54de008d8f56cdb62272d14a39ac913dbe860467f64a2248a735 - 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:868af9a97224c04de9e935c65aecda9ad5ac41bee4e8d00258d54527a1aa6a2f - 0.0% (591 Bytes)

[#021] sha256:1086a37967f551e36fbf522608d4f99ab7cac85cc6662f92d799f5a827b20ecb - 0.53% (1.79 MB)

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

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

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

[#025] sha256:b5c1676bc9c20f3239776c0e52794742a056b5d5389385d2b39f77e5a7fb6e5c - 0.0% (639 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 17:28:49 UTC

/bin/sh -c #(nop) ENV PYTHONIOENCODING=UTF-8

2019-09-12 17:29:00 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 17:29:00 UTC

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

2019-09-12 17:29:01 UTC

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

2019-09-12 17:31:17 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-shared --enable-unicode=ucs4 && make -j "$(nproc)" && 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 && python2 --version

2019-09-12 17:31:17 UTC

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

2019-09-12 17:31:17 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:31:18 UTC

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

2019-09-12 17:31:24 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:31:27 UTC

/bin/sh -c pip install --no-cache-dir virtualenv

2019-09-12 17:31:27 UTC

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

2019-10-14 17:52:54 UTC

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

2019-10-14 17:53:24 UTC

/bin/sh -c pip install uwsgi

2019-10-14 17:53:24 UTC

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

2019-10-14 17:53:24 UTC

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

2019-10-14 17:53:39 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 17:53:40 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 17:53:40 UTC

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

2019-10-14 17:53:40 UTC

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

2019-10-14 17:53:41 UTC

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

2019-10-14 17:53:41 UTC

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

2019-10-14 17:53:48 UTC

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

2019-10-14 17:53:48 UTC

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

2019-10-14 17:53:48 UTC

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

2019-10-14 17:53:48 UTC

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

2019-10-14 17:53:49 UTC

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

2019-10-14 17:53:49 UTC

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

2019-10-14 17:53:49 UTC

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

2019-10-14 17:53:49 UTC

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

2019-10-14 17:53:49 UTC

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

2019-10-14 17:53:50 UTC

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

2019-10-14 17:53:50 UTC

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

2019-10-14 17:53:51 UTC

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

2019-10-14 17:53:51 UTC

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

2019-10-14 17:53:51 UTC

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

2019-10-14 17:53:51 UTC

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

2019-10-14 17:53:52 UTC

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

2019-10-14 18:12:51 UTC

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

2019-10-14 18:12:54 UTC

/bin/sh -c pip install flask

2019-10-14 18:12:54 UTC

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

2019-10-14 18:12:54 UTC

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

2019-10-14 18:12:54 UTC

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

2019-10-14 18:12:54 UTC

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

2019-10-14 18:12:54 UTC

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

2019-10-14 18:12:55 UTC

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

2019-10-14 18:12:55 UTC

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

2019-10-14 18:12:56 UTC

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

2019-10-14 18:12:56 UTC

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

2019-10-14 18:12:56 UTC

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

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