Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python2.7-alpine3.7-2020-04-12
Content Digest
sha256:582a1be6b3e56e0e9c8f8657e92f9f702a06653f59483e8f9df86a380097feaf
Details
Created

2020-04-12 10:20:48 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.0.1

PYTHON_VERSION

2.7.15

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

[#001] sha256:81f9ab63a5a55aa988010d07023be840a678666069949e9ecbc253dc88ca404f - 0.69% (301 KB)

[#002] sha256:d11afbf926bd90827ff674d0dc6670381ae2219e7c4074645bd3f4491ca85ba5 - 39.49% (16.8 MB)

[#003] sha256:502a70b94b66d7d8593a2d65c7708060cdcc94454e529b0c493ad5080410c3ea - 4.06% (1.73 MB)

[#004] sha256:0d042da9cfd259d535a1d932b20427f5c11902c1ff8d33673cef6a3d9b9a366e - 13.24% (5.62 MB)

[#005] sha256:5746af7d845042961e8ccc797ba13aa4067f13a627ad92230016611869a77a43 - 25.08% (10.6 MB)

[#006] sha256:7e9fe3753033d3e0a5eb2204657018d218d427c5c4f650ac34853a89ceb89773 - 0.0% (392 Bytes)

[#007] sha256:229f2684d6267b3c04364a6becba2772ff1dd5523e54665446ebd6c13da176b1 - 3.87% (1.64 MB)

[#008] sha256:8fa832d64fe62ef57b288d0f0d64cf7fae1c05907195fabd4486a1ff28aaf8cb - 0.0% (343 Bytes)

[#009] sha256:c036ee60e115fb4d989ec30d3fb46b12e72a09741696d110258771e6f4439331 - 0.0% (319 Bytes)

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

[#011] sha256:ffe66ff8c432e07044956882d1b5a5fee9e227d72efe5dc866e13ae6d5afab7a - 0.0% (1.1 KB)

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

[#013] sha256:8d3370abf6eed24c726d952cf60c53f559f71241bd74fb3f9205dd65fd899f90 - 0.0% (572 Bytes)

[#014] sha256:ad0c68144819fdc7049d90471a698196b80d3e1de2d77e1f4fe5c554cdbb3f8b - 8.81% (3.74 MB)

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

[#016] sha256:3ead623b788b89350cc43a09b4c4dd6e6d034b40d40b45806d4773786a7c85fa - 0.0% (1.14 KB)

[#017] sha256:8ace45a12259b6d0f6151155224c33e02a0c2e6b2a9410b6964e5e09e3353715 - 0.0% (745 Bytes)

[#018] sha256:57f078fdca548c12578e6836b5c3eebdb28a1720e4aba7fca3eb8d17aebc0132 - 0.0% (745 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-31 00:12:18 UTC

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

2019-01-31 00:12:19 UTC

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

2019-01-31 00:12:20 UTC

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

2019-01-31 00:12:20 UTC

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

2019-01-31 00:14:17 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 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-01-31 00:14:17 UTC

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

2019-01-31 00:14:23 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-31 00:14:23 UTC

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

2020-04-06 23:56:00 UTC

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

2020-04-06 23:56:00 UTC

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

2020-04-07 00:05:07 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-07 00:05:08 UTC

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

2020-04-07 00:05:08 UTC

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

2020-04-07 00:05:18 UTC

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

2020-04-07 00:05:19 UTC

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

2020-04-07 00:05:22 UTC

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

2020-04-07 00:05:23 UTC

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

2020-04-07 00:05:23 UTC

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

2020-04-07 00:05:24 UTC

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

2020-04-07 00:05:24 UTC

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

2020-04-07 00:05:25 UTC

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

2020-04-07 00:05:25 UTC

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

2020-04-07 00:05:25 UTC

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

2020-04-07 00:05:26 UTC

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

2020-04-07 00:05:28 UTC

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

2020-04-07 00:05:28 UTC

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

2020-04-07 00:05:30 UTC

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

2020-04-07 00:05:31 UTC

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

2020-04-07 00:05:31 UTC

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

2020-04-07 00:05:32 UTC

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

2020-04-07 00:05:32 UTC

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

2020-04-12 10:20:42 UTC

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

2020-04-12 10:20:45 UTC

/bin/sh -c pip install flask

2020-04-12 10:20:45 UTC

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

2020-04-12 10:20:46 UTC

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

2020-04-12 10:20:46 UTC

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

2020-04-12 10:20:46 UTC

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

2020-04-12 10:20:46 UTC

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

2020-04-12 10:20:46 UTC

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

2020-04-12 10:20:47 UTC

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

2020-04-12 10:20:47 UTC

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

2020-04-12 10:20:48 UTC

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

2020-04-12 10:20:48 UTC

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

2020-04-12 10:20:48 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