Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python2.7-alpine3.8-2019-10-14
Content Digest
sha256:38c768f2b2fc2f933e85595efaf8b06cdb226be5319ec8178994c00cd87f5671
Details
Created

2019-10-14 18:13:45 UTC

Size

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

NGINX_WORKER_PROCESSES

1

PATH

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

PYTHONIOENCODING

UTF-8

PYTHONPATH

/app

PYTHON_PIP_VERSION

19.1.1

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:c87736221ed0bcaa60b8e92a19bec2284899ef89226f2a07968677cf59e637a4 - 4.95% (2.1 MB)

[#001] sha256:33e8d8ba56dbe15d571601bad0c71b65a5fd767e8eeb0bae6cda31dfbf8e1ae3 - 0.69% (302 KB)

[#002] sha256:2584953a55d96ca290830d345218fc124954ab5c043daa3456385d687a6e9d6b - 39.29% (16.7 MB)

[#003] sha256:1ddd59c4b2b56c1316bedbbd93c391df00f17033ccb1b3f75a5821cd873c3685 - 4.08% (1.73 MB)

[#004] sha256:7972f53d06e4e0195c3119fd1d31939dc3ec50b314e0bda31e66f0b58b96b5d3 - 13.35% (5.68 MB)

[#005] sha256:dd086dee752256fd9fca6fa97353488d68890c4ddb4f622f5d2e7cd76ee904d6 - 24.32% (10.3 MB)

[#006] sha256:64b559030d15e9ef01b31821629e5e3e3601e6016fec0011b71528c99e1c1275 - 0.0% (392 Bytes)

[#007] sha256:69cb19255a0de3613a9ffa5716f46a7a47425bd1c253928e885c80282708221d - 4.32% (1.84 MB)

[#008] sha256:d4abffa7c6c9511776ae8adc1054a1ca7723e9bbb1e387ce205ed1ef002e7ea5 - 0.0% (366 Bytes)

[#009] sha256:3ab338e9fd01a9d805a2a13a7be2d131f63badcb0385486c4bc178c8643583e4 - 0.0% (321 Bytes)

[#010] sha256:c360e50374de4ea6651a2f5cfe92f4985796e704802d8051d7ea4a451e089c3b - 0.0% (320 Bytes)

[#011] sha256:17e002b91069ef2241b54229ee12828547b665ace3a98da6ad1266f544cceb00 - 0.0% (1.11 KB)

[#012] sha256:4ae13116cc05f3f056d9ab90b442fbce9b081e3e4309c5408bdab961832efd71 - 0.0% (1.11 KB)

[#013] sha256:b85547010e2c30a880ada7663e8461732d0f562e3ad8a09c092bf853b4397d5f - 0.0% (600 Bytes)

[#014] sha256:1411f73a87da0fd9b672a22d4c4a51fa246473bcd4416eb4e0b920cb39783137 - 8.98% (3.82 MB)

[#015] sha256:8ce1ebc962a5a37f2ce5edcb44fb9c945ec432c6dffa380ac599d0852c85b258 - 0.0% (589 Bytes)

[#016] sha256:012f85cdb14398f0f977f4ad1b126b9227afd13bff891058f1dbb97c5de055fb - 0.0% (1.14 KB)

[#017] sha256:bc31287606f71509fbaebf277dd55184761a7ba3ee1e00a2d1bf9a5b02a05772 - 0.0% (743 Bytes)

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


History
2019-03-07 22:19:46 UTC

/bin/sh -c #(nop) ADD file:38bc6b51693b13d84a63e281403e2f6d0218c44b1d7ff12157c4523f9f0ebb1e in /

2019-03-07 22:19:46 UTC

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

2019-03-07 22:43:33 UTC

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

2019-03-07 22:43:33 UTC

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

2019-03-07 23:07:13 UTC

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

2019-03-07 23:07:14 UTC

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

2019-03-07 23:07:14 UTC

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

2019-03-07 23:07:14 UTC

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

2019-03-07 23:09:14 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 libtirpc-dev linux-headers make ncurses-dev libressl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev zlib-dev && apk del .fetch-deps && cd /usr/src/python && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --enable-shared --enable-unicode=ucs4 --with-system-expat --with-system-ffi && 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 && python2 --version

2019-05-08 00:25:03 UTC

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

2019-05-08 00:25:08 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-05-08 00:25:08 UTC

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

2019-10-14 17:56:12 UTC

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

2019-10-14 17:56:12 UTC

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

2019-10-14 17:57:51 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

2019-10-14 17:57:52 UTC

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

2019-10-14 17:57:52 UTC

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

2019-10-14 17:57:54 UTC

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

2019-10-14 17:57:55 UTC

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

2019-10-14 17:57:56 UTC

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

2019-10-14 17:57:56 UTC

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

2019-10-14 17:57:56 UTC

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

2019-10-14 17:57:56 UTC

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

2019-10-14 17:57:57 UTC

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

2019-10-14 17:57:57 UTC

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

2019-10-14 17:57:57 UTC

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

2019-10-14 17:57:57 UTC

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

2019-10-14 17:57:57 UTC

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

2019-10-14 17:57:58 UTC

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

2019-10-14 17:57:58 UTC

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

2019-10-14 17:57:59 UTC

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

2019-10-14 17:57:59 UTC

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

2019-10-14 17:57:59 UTC

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

2019-10-14 17:57:59 UTC

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

2019-10-14 17:58:00 UTC

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

2019-10-14 18:13:38 UTC

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

2019-10-14 18:13:42 UTC

/bin/sh -c pip install flask

2019-10-14 18:13:42 UTC

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

2019-10-14 18:13:43 UTC

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

2019-10-14 18:13:43 UTC

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

2019-10-14 18:13:43 UTC

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

2019-10-14 18:13:43 UTC

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

2019-10-14 18:13:43 UTC

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

2019-10-14 18:13:44 UTC

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

2019-10-14 18:13:44 UTC

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

2019-10-14 18:13:45 UTC

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

2019-10-14 18:13:45 UTC

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

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