Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.7-alpine3.7-2020-05-04
Content Digest
sha256:63f2038d1352660c7a46f838e8bb1465dda7b6eec60220dbd8d3c182cc0f38bf
Details
Created

2020-05-04 14:40:35 UTC

Size

65 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.7.2

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.09% (2.01 MB)

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

[#002] sha256:6439819450d10d1aae92561f3ffff722137aada46d509644e8de4ca82bb26b07 - 38.02% (24.7 MB)

[#003] sha256:3c7be240f7bfb19ec575d8547832a9f20b95eec9b4cc94fe717dd047ad661159 - 0.0% (230 Bytes)

[#004] sha256:ca4b349df8ed83a59776df8f3868ece2783aa1ee2e9f052c9c9f3b54ae51a593 - 2.66% (1.73 MB)

[#005] sha256:34150ee59ed79880faefa30c59401fda121b9c017011bf7e66945de4ec6db9d9 - 8.65% (5.62 MB)

[#006] sha256:3efd63b24d7931b5b68440e7de70fec82a5e19f3715361610846bf3796951dbf - 22.83% (14.8 MB)

[#007] sha256:13daa06019b8e3605c9fb1dec9ca9df3e0d66ceaaf8187cede4ea288c2a5c4fd - 0.0% (395 Bytes)

[#008] sha256:5d160bb5afd9c0a0c9f63dc37fe34a3ae39edef507c8a0e0bf590dfd10686d78 - 18.1% (11.8 MB)

[#009] sha256:903e06d5caa8c7f4e8220a87cceb9bdd91a070475f58ad0942601688926993eb - 0.0% (341 Bytes)

[#010] sha256:1c9f310900ffa04cb454facc7276c83a0f73de6eaeb6a3b4d5be54dd2f0a210b - 0.0% (322 Bytes)

[#011] sha256:0bba5a4ae92fcb813467913ba18942ef4bc8a2d12c0e6d7a6d52c05b4335be17 - 0.0% (322 Bytes)

[#012] sha256:6b4157f22b14aaf7acf132f32b12d350bcd526bb7f03446254580ada1940985f - 0.0% (1.11 KB)

[#013] sha256:320a05cc31ae47338fdd16be588f42a1e96cddef21d945bd8672194f504b6031 - 0.0% (1.11 KB)

[#014] sha256:1b7ed24f300c1e78047eb7c54d87d98403a3730e79069f5985821adb14972f23 - 0.0% (576 Bytes)

[#015] sha256:36c453346669046c59107173bac6a1951db0e7ea254fa1955b84a53a0b12a820 - 6.19% (4.02 MB)

[#016] sha256:467489457831a43c24dc4d6450f3e6be65f99ca566ef6fd604016ca5af833e9d - 0.0% (590 Bytes)

[#017] sha256:9310ad0017f700677557d3f5c00414a55e689a6a83876fe8f23de728663ad4f3 - 0.0% (1.15 KB)

[#018] sha256:61ac57a38569288addb6f7d42ccab045c996e81dfd87a8b7fc4ae697fefb55a1 - 0.0% (743 Bytes)

[#019] sha256:33aa336a4b8ac0a1a47d97ccefdb6405b332a52680553b8ec502f9237f436447 - 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:43:20 UTC

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

2019-01-30 23:48:01 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 openssl-dev libtirpc-dev linux-headers make ncurses-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-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:48:02 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:48:03 UTC

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

2019-01-30 23:48:12 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:48:12 UTC

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

2020-04-06 23:30:28 UTC

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

2020-04-06 23:30:29 UTC

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

2020-04-06 23:39:27 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 23:39:28 UTC

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

2020-04-06 23:39:28 UTC

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

2020-04-06 23:39:40 UTC

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

2020-04-06 23:39:41 UTC

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

2020-04-06 23:39:51 UTC

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

2020-04-06 23:39:52 UTC

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

2020-04-06 23:39:52 UTC

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

2020-04-06 23:39:52 UTC

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

2020-04-06 23:39:53 UTC

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

2020-04-06 23:39:53 UTC

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

2020-04-06 23:39:54 UTC

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

2020-04-06 23:39:54 UTC

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

2020-04-06 23:39:54 UTC

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

2020-04-06 23:39:56 UTC

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

2020-04-06 23:39:57 UTC

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

2020-04-06 23:39:59 UTC

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

2020-04-06 23:39:59 UTC

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

2020-04-06 23:40:00 UTC

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

2020-04-06 23:40:00 UTC

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

2020-04-06 23:40:01 UTC

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

2020-05-04 14:40:28 UTC

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

2020-05-04 14:40:32 UTC

/bin/sh -c pip install flask

2020-05-04 14:40:32 UTC

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

2020-05-04 14:40:32 UTC

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

2020-05-04 14:40:32 UTC

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

2020-05-04 14:40:33 UTC

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

2020-05-04 14:40:33 UTC

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

2020-05-04 14:40:33 UTC

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

2020-05-04 14:40:34 UTC

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

2020-05-04 14:40:34 UTC

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

2020-05-04 14:40:34 UTC

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

2020-05-04 14:40:35 UTC

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

2020-05-04 14:40:35 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