Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.6-alpine3.8-2019-10-14
Content Digest
sha256:015923593573c7564a77cb5442151eee29c5584e2659ef16d0a72474b892d4bd
Details
Created

2019-10-14 18:15:47 UTC

Size

63.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.1.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:c87736221ed0bcaa60b8e92a19bec2284899ef89226f2a07968677cf59e637a4 - 3.32% (2.1 MB)

[#001] sha256:c3f51b0d0765f7359fcc1b8d67887b1461c51dfb04b68ad54676a592af48cfdc - 0.46% (302 KB)

[#002] sha256:b5a0acc6b737454a58b8b0cfb1eb6169a16c460f808e7fdcc3cb2cf5e5c89282 - 34.85% (22.1 MB)

[#003] sha256:14428c09e432b630c56feb6f9ad00c222ff32160b3905f7e492b9be1cfb5f457 - 0.0% (230 Bytes)

[#004] sha256:b47477238ca8cdb4a93e3aacc6f45645b527ec013dd31fa8dec650e5277a3b57 - 2.74% (1.74 MB)

[#005] sha256:201b2565839fe12699d3c6acc0794733c103f560f32c0d0b0cd11cdacab16a65 - 8.95% (5.68 MB)

[#006] sha256:0d253c6b1c76aebac981a5fb68407d7eca61c43e714a1d39621f62d4e4808a8c - 23.38% (14.8 MB)

[#007] sha256:92583eae40b030c1ad0caee10a2c48aa110699c94e05104876eadf03a8ace751 - 0.0% (393 Bytes)

[#008] sha256:9564100f17b64b34949db9c65da3443a0df998e71d20a5815bca1725e0f1a8c2 - 19.78% (12.5 MB)

[#009] sha256:726a7643924adfedbdb365d19e7a8cbfd78859cf25626e986d219b1c09a57561 - 0.0% (366 Bytes)

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

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

[#012] sha256:05231bb2420947cdc1667d3592bf89b22bda44e5a461b322cf844b449807964c - 0.0% (1.11 KB)

[#013] sha256:904f4fb862d9ff2d679c5e2c75f8132a74b453fbce14719aec7cba61a1e2d2ad - 0.0% (1.11 KB)

[#014] sha256:fa9a6bb4b327d79f01c2d927164dcdcd8f857d6244a90e10cde5631e4b961a29 - 0.0% (599 Bytes)

[#015] sha256:1fdc281ffe0195096a31b771e2ee364a9087f2ea1c133ef184cb8ccaca2353fd - 6.51% (4.13 MB)

[#016] sha256:2599df3ddc114705b4edd2fef94d62ad1d84f9301de7c09ecff2234de14f3ac9 - 0.0% (586 Bytes)

[#017] sha256:85d1213cfefbe32986ae9cf5dbd429c31e2bd662d1578d631c304a4e6fea952c - 0.0% (1.14 KB)

[#018] sha256:269fd328b65f27b61b01eeaf2e8be87c70ce818167cc7612062d4c40c2dd98c9 - 0.0% (742 Bytes)

[#019] sha256:6910780f3987ad1ece0c760ae21f7f783bf0f0d09cd6f809c9ce3f3bc5826712 - 0.0% (745 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 22:43:34 UTC

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

2019-03-07 22:43:35 UTC

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

2019-03-07 22:51:30 UTC

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

2019-03-07 22:53:31 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 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-03-07 22:53:32 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-05-08 00:16:59 UTC

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

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

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

2019-10-14 18:05:41 UTC

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

2019-10-14 18:05:41 UTC

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

2019-10-14 18:07:22 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 18:07:22 UTC

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

2019-10-14 18:07:22 UTC

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

2019-10-14 18:07:25 UTC

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

2019-10-14 18:07:25 UTC

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

2019-10-14 18:07:28 UTC

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

2019-10-14 18:07:28 UTC

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

2019-10-14 18:07:28 UTC

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

2019-10-14 18:07:29 UTC

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

2019-10-14 18:07:29 UTC

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

2019-10-14 18:07:29 UTC

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

2019-10-14 18:07:29 UTC

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

2019-10-14 18:07:29 UTC

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

2019-10-14 18:07:29 UTC

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

2019-10-14 18:07:30 UTC

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

2019-10-14 18:07:30 UTC

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

2019-10-14 18:07:31 UTC

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

2019-10-14 18:07:31 UTC

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

2019-10-14 18:07:31 UTC

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

2019-10-14 18:07:32 UTC

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

2019-10-14 18:07:32 UTC

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

2019-10-14 18:15:39 UTC

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

2019-10-14 18:15:44 UTC

/bin/sh -c pip install flask

2019-10-14 18:15:44 UTC

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

2019-10-14 18:15:44 UTC

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

2019-10-14 18:15:44 UTC

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

2019-10-14 18:15:44 UTC

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

2019-10-14 18:15:45 UTC

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

2019-10-14 18:15:45 UTC

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

2019-10-14 18:15:45 UTC

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

2019-10-14 18:15:46 UTC

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

2019-10-14 18:15:46 UTC

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

2019-10-14 18:15:46 UTC

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

2019-10-14 18:15:47 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