Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.6-alpine3.7-2020-04-06
Content Digest
sha256:c1de06faf185f988b47d11a5bae93f88eccc508dd4d305925a576952ef58efdd
Details
Created

2020-04-06 16:04:22 UTC

Size

62.4 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.3

NGINX_WORKER_PROCESSES

1

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHONPATH

/app

PYTHON_PIP_VERSION

19.0.1

PYTHON_VERSION

3.6.8

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PROCESSES

16


Layers

[#000] sha256:48ecbb6b270eb481cb6df2a5b0332de294ec729e1968e92d725f1329637ce01b - 3.22% (2.01 MB)

[#001] sha256:692f29ee68fa6bab04aa6a1c6d8db0ad44e287e5ff5c7e1d5794c3aabc55884d - 0.47% (301 KB)

[#002] sha256:f75fc7ac1098aa717d52baf7ed852aaf2d531c07f1de48e72be6c1670079f071 - 35.41% (22.1 MB)

[#003] sha256:c30e40bb471c65cd7c6222d33c055fd4431957508a1e2d96996a0250af22228f - 0.0% (232 Bytes)

[#004] sha256:51a8cc25b36b05f393d83c0f5ef743dfd216664fb657bfc486c4e863ed97a99d - 2.77% (1.73 MB)

[#005] sha256:b24ec260a1c8fd9c522d4da3f297cf8b702c1e8540845a5bfd11240e9a584036 - 9.01% (5.62 MB)

[#006] sha256:6913ac4c0c9a7b01fba7330776f0c4b74a46492ed7eb784205ecf9c5aff7c4ca - 23.77% (14.8 MB)

[#007] sha256:83d257bd71de7b8f00cd35449a1192d3732b6574c21230c190f1d7b89cdf2a99 - 0.0% (392 Bytes)

[#008] sha256:1e909575157d461cd0b071cb689b1353d11cdb96c6ded0df43b63b46bf27312c - 18.85% (11.8 MB)

[#009] sha256:36872e9cdf432e992e7f1f59c708b6db9c37f918bb9b2ed606328e3b9b57424c - 0.0% (365 Bytes)

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

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

[#012] sha256:fb6e0d44989fc0879bda39c216e8a8df9cb81721c1248248e390e9663125aeb3 - 0.0% (1.1 KB)

[#013] sha256:1060b86622d1a44218df48a5a666d271b682858314c498cb76d63c51591fd036 - 0.0% (1.11 KB)

[#014] sha256:e234665465cf4346ef2368fef9d5fbe6cbe99a71b4658a665a48b914faa574de - 0.0% (596 Bytes)

[#015] sha256:f4875e402e085d8185fd7abfa1b91d0647e46a89a0c4d8825f3ca53f9dcca36b - 6.49% (4.05 MB)

[#016] sha256:1072f9e5f941f595109441aa736de55a9d0b60f7cd5812c98c10c1821d06395e - 0.0% (590 Bytes)

[#017] sha256:7cc57b002f9a3a2e2d742d3eb7470595fa3c2632c1be448f4815f2f26fa02893 - 0.0% (1.14 KB)

[#018] sha256:119867bea18731bcec4b7603ba9095c8cf2f008bb8c34358e343a7f9bd79299c - 0.0% (744 Bytes)

[#019] sha256:b19a0cfdb6ce8da781f32aad3c4669da1eeac679086035494ed3ecb052cccfc1 - 0.0% (744 Bytes)


History
2019-01-30 22:19:40 UTC

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

2019-01-30 22:19:40 UTC

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

2019-01-30 23:43:18 UTC

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

2019-01-30 23:43:18 UTC

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

2019-01-30 23:43:20 UTC

/bin/sh -c apk add --no-cache ca-certificates

2019-01-30 23:43:20 UTC

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

2019-01-30 23:52:35 UTC

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

2019-01-30 23:56:02 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg tar xz && 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 && apk add --no-cache --virtual .build-deps bzip2-dev coreutils dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libressl-dev libtirpc-dev linux-headers make ncurses-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev xz-dev zlib-dev && apk del .fetch-deps && cd /usr/src/python && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-shared --with-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" && make install && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-cache --virtual .python-rundeps && apk del .build-deps && 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-01-30 23:56:04 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-01-30 23:56:04 UTC

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

2019-01-30 23:56:13 UTC

/bin/sh -c set -ex; wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; 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-01-30 23:56:14 UTC

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

2020-04-06 16:02:01 UTC

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

2020-04-06 16:02:01 UTC

/bin/sh -c #(nop) ENV NGINX_VERSION=1.15.3

2020-04-06 16:03:24 UTC

/bin/sh -c GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 && CONFIG=" --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-threads --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-stream_geoip_module=dynamic --with-http_slice_module --with-mail --with-mail_ssl_module --with-compat --with-file-aio --with-http_v2_module " && addgroup -S nginx && adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && apk add --no-cache --virtual .build-deps gcc libc-dev make openssl-dev pcre-dev zlib-dev linux-headers curl gnupg1 libxslt-dev gd-dev geoip-dev && curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz && curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz.asc -o nginx.tar.gz.asc && export GNUPGHOME="$(mktemp -d)" && 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 $GPG_KEYS from $server"; gpg --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$GPG_KEYS" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $GPG_KEYS" && exit 1; gpg --batch --verify nginx.tar.gz.asc nginx.tar.gz && rm -rf "$GNUPGHOME" nginx.tar.gz.asc && mkdir -p /usr/src && tar -zxC /usr/src -f nginx.tar.gz && rm nginx.tar.gz && cd /usr/src/nginx-$NGINX_VERSION && ./configure $CONFIG --with-debug && make -j$(getconf _NPROCESSORS_ONLN) && mv objs/nginx objs/nginx-debug && mv objs/ngx_http_xslt_filter_module.so objs/ngx_http_xslt_filter_module-debug.so && mv objs/ngx_http_image_filter_module.so objs/ngx_http_image_filter_module-debug.so && mv objs/ngx_http_geoip_module.so objs/ngx_http_geoip_module-debug.so && mv objs/ngx_stream_geoip_module.so objs/ngx_stream_geoip_module-debug.so && ./configure $CONFIG && make -j$(getconf _NPROCESSORS_ONLN) && make install && rm -rf /etc/nginx/html/ && mkdir /etc/nginx/conf.d/ && mkdir -p /usr/share/nginx/html/ && install -m644 html/index.html /usr/share/nginx/html/ && install -m644 html/50x.html /usr/share/nginx/html/ && install -m755 objs/nginx-debug /usr/sbin/nginx-debug && install -m755 objs/ngx_http_xslt_filter_module-debug.so /usr/lib/nginx/modules/ngx_http_xslt_filter_module-debug.so && install -m755 objs/ngx_http_image_filter_module-debug.so /usr/lib/nginx/modules/ngx_http_image_filter_module-debug.so && install -m755 objs/ngx_http_geoip_module-debug.so /usr/lib/nginx/modules/ngx_http_geoip_module-debug.so && install -m755 objs/ngx_stream_geoip_module-debug.so /usr/lib/nginx/modules/ngx_stream_geoip_module-debug.so && ln -s ../../usr/lib/nginx/modules /etc/nginx/modules && strip /usr/sbin/nginx* && strip /usr/lib/nginx/modules/*.so && rm -rf /usr/src/nginx-$NGINX_VERSION && apk add --no-cache --virtual .gettext gettext && mv /usr/bin/envsubst /tmp/ && runDeps="$( scanelf --needed --nobanner --format '%n#p' /usr/sbin/nginx /usr/lib/nginx/modules/*.so /tmp/envsubst | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && apk add --no-cache --virtual .nginx-rundeps $runDeps && apk del .build-deps && apk del .gettext && mv /tmp/envsubst /usr/local/bin/ && apk add --no-cache tzdata && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log

2020-04-06 16:03:25 UTC

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

2020-04-06 16:03:25 UTC

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

2020-04-06 16:03:27 UTC

/bin/sh -c apk add --no-cache uwsgi-python3

2020-04-06 16:03:28 UTC

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

2020-04-06 16:03:30 UTC

/bin/sh -c apk add --no-cache supervisor

2020-04-06 16:03:30 UTC

/bin/sh -c #(nop) COPY file:9190bafb76e91aae768a80107f98f4800c7cfb419888167040ebc32e2e8ee048 in /etc/supervisor.d/supervisord.ini

2020-04-06 16:03:31 UTC

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

2020-04-06 16:03:31 UTC

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

2020-04-06 16:03:31 UTC

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

2020-04-06 16:03:31 UTC

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

2020-04-06 16:03:31 UTC

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

2020-04-06 16:03:31 UTC

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

2020-04-06 16:03:32 UTC

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

2020-04-06 16:03:32 UTC

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

2020-04-06 16:03:32 UTC

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

2020-04-06 16:03:33 UTC

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

2020-04-06 16:03:33 UTC

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

2020-04-06 16:03:33 UTC

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

2020-04-06 16:03:33 UTC

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

2020-04-06 16:03:34 UTC

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

2020-04-06 16:04:16 UTC

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

2020-04-06 16:04:19 UTC

/bin/sh -c pip install flask

2020-04-06 16:04:20 UTC

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

2020-04-06 16:04:20 UTC

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

2020-04-06 16:04:20 UTC

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

2020-04-06 16:04:20 UTC

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

2020-04-06 16:04:20 UTC

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

2020-04-06 16:04:20 UTC

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

2020-04-06 16:04:21 UTC

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

2020-04-06 16:04:21 UTC

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

2020-04-06 16:04:22 UTC

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

2020-04-06 16:04:22 UTC

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

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