Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.6-index-2020-04-12
Content Digest
sha256:2bcb50953478f53e599e4ddb38d9c77013401bb698efcf18de3866f109dfc326
Details
Created

2020-04-12 10:24:06 UTC

Size

351 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

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

STATIC_INDEX

1

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:56da78ce36e97a8ba1f860575bb1422d1cb6ab4dade70b06ddf1651302dde955 - 12.34% (43.3 MB)

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

[#002] sha256:6254ff6d0e6052b7bead70e37703002eda28ac40f9a1167ea9bf813bf9c17d7f - 1.18% (4.14 MB)

[#003] sha256:e0e1e13bd9f6c381f158a5366b3eff242e8b4a4decfa940e915b1d5705ef4a28 - 13.61% (47.8 MB)

[#004] sha256:b86b38b40a24c042077b816eebfc5356bf938c6aed3069e102175ef1720416b8 - 58.43% (205 MB)

[#005] sha256:5c90b0cae7d00523ff84c7d56b40ee3fb9d2a118278dfc0c429926332bef1c01 - 1.65% (5.8 MB)

[#006] sha256:5455ec7906b78b6c39c591d926a5f026206c51f9d66b2010c523518e0b32ef9a - 6.25% (21.9 MB)

[#007] sha256:27213adb1f2ee6400eb86ab5ad67d09f2b29416a99d469af6b5c5813b80f620a - 0.0% (241 Bytes)

[#008] sha256:d95dcd798ef8e95b5b79f51f479db484c2dbf10f5ceeaf0e829e9c3ef25e94eb - 0.51% (1.8 MB)

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

[#010] sha256:3d258749596c031035618cfe31d73f40d940596631bb1eb98b4cef66b3f126c9 - 0.0% (206 Bytes)

[#011] sha256:05a21be5cd0644f8f06f6d1bc223eb7df56d725ff895690f0d74284153692487 - 1.21% (4.26 MB)

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

[#013] sha256:8a037b12edbdc323fccd07693f71f76f6a01ac594313710af5c9a713a050a2ce - 0.0% (380 Bytes)

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

[#015] sha256:71d3adf05a2ef0a9f04ec0c5a6ec06805897a1960b2231b2db2b5a7bb0a1b86a - 0.0% (369 Bytes)

[#016] sha256:0879d0f27d3d154dd9d7626ff2cef941cb714670bef3ff897613be49aaf3e406 - 0.0% (321 Bytes)

[#017] sha256:4d2eacb0f463c709ddea70ffd52e462032b55f177c042c7acf4c43e96d960dc3 - 0.0% (322 Bytes)

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

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

[#020] sha256:79f03e9bef1525e8c4d6f7fcd6104ff1d448740831f7e33d8a505ad949051a9a - 0.0% (569 Bytes)

[#021] sha256:d373ebe5f42c7f70ce63d92273e366a5e674e32c13dd5a66bcf54387a6e2bae7 - 0.52% (1.81 MB)

[#022] sha256:4c375eae4b311acffc14ffedaf50cc5a6ce298c15657e35f8c9c255002c6ee06 - 0.0% (590 Bytes)

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

[#024] sha256:896c21cd49652b5403a1f31e3e823f76e89b1b7ddf1ff71e4687f614e4ebb9da - 0.0% (637 Bytes)

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

[#026] sha256:7f726ab79bf65dca25bcafd79d6e559f2be0519630bf76498e1b370ca01fb336 - 0.0% (598 Bytes)


History
2020-03-31 01:23:50 UTC

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

2020-03-31 01:23:51 UTC

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

2020-03-31 02:06:41 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 02:06:47 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 02:07:10 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/*

2020-03-31 02:08:07 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 04:27:51 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 04:27:51 UTC

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

2020-03-31 16:34:59 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:34:59 UTC

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

2020-03-31 16:34:59 UTC

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

2020-03-31 16:42: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-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:42:36 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:42:37 UTC

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

2020-03-31 16:42:37 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:42:37 UTC

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

2020-03-31 16:42:43 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:42:43 UTC

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

2020-04-07 00:22:37 UTC

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

2020-04-07 00:22:38 UTC

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

2020-04-07 00:22:38 UTC

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

2020-04-07 00:23:28 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-07 00:23:30 UTC

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

2020-04-07 00:23:30 UTC

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

2020-04-07 00:23:30 UTC

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

2020-04-07 00:26:30 UTC

/bin/sh -c pip install uwsgi

2020-04-07 00:26:32 UTC

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

2020-04-07 00:26:33 UTC

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

2020-04-07 00:26:57 UTC

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

2020-04-07 00:26:58 UTC

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

2020-04-07 00:26:58 UTC

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

2020-04-07 00:26:58 UTC

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

2020-04-07 00:26:58 UTC

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

2020-04-07 00:26:59 UTC

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

2020-04-07 00:26:59 UTC

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

2020-04-07 00:27:00 UTC

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

2020-04-07 00:27:00 UTC

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

2020-04-07 00:27:02 UTC

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

2020-04-07 00:27:03 UTC

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

2020-04-07 00:27:04 UTC

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

2020-04-07 00:27:05 UTC

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

2020-04-07 00:27:05 UTC

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

2020-04-07 00:27:06 UTC

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

2020-04-07 00:27:06 UTC

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

2020-04-12 10:21:58 UTC

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

2020-04-12 10:22:00 UTC

/bin/sh -c pip install flask

2020-04-12 10:22:01 UTC

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

2020-04-12 10:22:01 UTC

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

2020-04-12 10:22:01 UTC

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

2020-04-12 10:22:01 UTC

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

2020-04-12 10:22:01 UTC

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

2020-04-12 10:22:01 UTC

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

2020-04-12 10:22:02 UTC

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

2020-04-12 10:22:02 UTC

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

2020-04-12 10:22:03 UTC

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

2020-04-12 10:22:03 UTC

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

2020-04-12 10:22:03 UTC

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

2020-04-12 10:24:05 UTC

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

2020-04-12 10:24:06 UTC

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

2020-04-12 10:24:06 UTC

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

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