Namespace
tiangolo
Image / Tag
uwsgi-nginx-flask:python3.8-alpine-2022-11-25
Content Digest
sha256:731b8415fb7784794230f503ab8b8b326ce6ff40547615a965378a74516e606a
Details
Created

2022-11-25 23:05:10 UTC

Size

41.6 MB

Content Digest
Labels
  • maintainer
    Sebastian Ramirez <tiangolo@gmail.com>

Environment
ALPINEPYTHON

python3.8

GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

LISTEN_PORT

80

NGINX_MAX_UPLOAD

0

NGINX_WORKER_PROCESSES

1

PATH

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

PYTHONPATH

/app

PYTHON_GET_PIP_SHA256

c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

PYTHON_PIP_VERSION

21.2.4

PYTHON_SETUPTOOLS_VERSION

57.5.0

PYTHON_VERSION

3.8.12

STATIC_INDEX

0

STATIC_PATH

/app/static

STATIC_URL

/static

UWSGI_CHEAPER

2

UWSGI_INI

/app/uwsgi.ini

UWSGI_PLUGIN

python3

UWSGI_PROCESSES

16


Layers

[#000] sha256:5758d4e389a3f662e94a85fb76143dbe338b64f8d2a65f45536a9663b05305ad - 6.48% (2.69 MB)

[#001] sha256:b8988a686bbdf503e1884e129cd15b1c21e9b99679011c8b181fcc33ac850f7b - 0.65% (275 KB)

[#002] sha256:2d2ab718c41985f2aa8a1c6c25005b8ab119cd98a6f8a6699d102c6efcc2b6e3 - 25.77% (10.7 MB)

[#003] sha256:87032375e817032d5e56d5d6cc8774883bf55f8321306de943d6ffef175a1a2f - 0.0% (230 Bytes)

[#004] sha256:af7a7515e8bd131fbdc0ab8c14301cafc9abfe3288ffe2764c02715bf36563db - 5.39% (2.24 MB)

[#005] sha256:ddd7505ce4f9562d05848ac9a2cb2b6d93909e1baaa30111dc75061968ac7f89 - 0.0% (1.42 KB)

[#006] sha256:dd809992a4c0259de846330a0d941dd9e89354e674b2e49251d97cfeed09de1e - 15.32% (6.37 MB)

[#007] sha256:88ebbf108149e21544951a766135da3c87b2c9f894c72c35e81ec38ef44b9b0d - 33.52% (13.9 MB)

[#008] sha256:839a7de3b9946f5a37832e9a8b1cf73b3798bb53e5dd216a992d9c55ed3bbdfc - 0.0% (381 Bytes)

[#009] sha256:5a939bcb0062c8dee55f704ba7dfa8d83757cbc06bac1186bca85f44d28f2fb2 - 4.77% (1.98 MB)

[#010] sha256:1a1d79a278f34fff2c2c4dca3b07c1c723904a5393f81223af4452f79ccb981d - 0.0% (439 Bytes)

[#011] sha256:8f8c0279402cad4c05f53449a06b5db3a471b7da0317d863d66f51e5e5ce1e75 - 0.0% (464 Bytes)

[#012] sha256:738ab4a5f11ef1fd0fb4c08fdae915c388bfbdb1a17ae492619309990ccd57f0 - 0.0% (464 Bytes)

[#013] sha256:96931539a1f0233fe149f0e26450bc2d655b9147b79c71d986afee705a337998 - 0.0% (319 Bytes)

[#014] sha256:b2b0aa82e6d036dd3f821ac40b96e41187365abc69f9ab19e85bf6a24debd0be - 0.0% (321 Bytes)

[#015] sha256:540d6e2fcfac7239383bc03ee7a3d0ea2a98e5756145102041f824c761d4c08c - 0.0% (1.15 KB)

[#016] sha256:a68fdac8694d2d9632869210e40f2c4972eb57030793a97c94ccbf49f2d22ee0 - 0.0% (1.15 KB)

[#017] sha256:fb69a16d27761b419e28d061e314585673420202bddf705ea5af07fe07630a0e - 0.0% (565 Bytes)

[#018] sha256:05ce8c4977e2fcf28c2a92e4167890e2c6c8dc7020307c839ce52f839899842d - 0.0% (158 Bytes)

[#019] sha256:0d47f9b3cc7fcdaff6928d930293b086330cfb74947f286e6dfbe4893d62a0c7 - 8.09% (3.36 MB)

[#020] sha256:821ec7bfb5f1d3c1dd7b65c95065eefaa602913e28c7b86f85795abc5d410901 - 0.0% (584 Bytes)

[#021] sha256:fcd17c50fdbddad0506de6ba68edad03ad79e84062aa579a7f26a1987a9e5253 - 0.0% (1.18 KB)

[#022] sha256:54d7f00c6105e149ce4f8c1bb198989877615bacdcfbf05d9e7d2550bbf0113f - 0.0% (768 Bytes)

[#023] sha256:4ed8283af74505d238f0f7964cb6b3fa45a42151cf50f4c095892fe99aba228b - 0.0% (769 Bytes)


History
2021-11-12 17:19:58 UTC

/bin/sh -c #(nop) ADD file:5a707b9d6cb5fff532e4c2141bc35707593f21da5528c9e71ae2ddb6ba4a4eb6 in /

2021-11-12 17:19:58 UTC

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

2021-11-13 00:09:08 UTC

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

2021-11-13 03:28:43 UTC

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

2021-11-13 04:09:48 UTC

/bin/sh -c set -eux; apk add --no-cache ca-certificates ;

2021-11-13 04:09:48 UTC

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

2021-11-13 04:09:49 UTC

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

2021-11-13 04:20:44 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 hkps://keys.openpgp.org --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 bluez-dev 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 openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev && apk del --no-network .fetch-deps && cd /usr/src/python && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" LDFLAGS="-Wl,--strip-all" && make install && rm -rf /usr/src/python && find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + && 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 --no-network .build-deps && python3 --version

2021-11-13 04:20:45 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

2021-11-13 04:20:45 UTC

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

2021-11-13 04:20:46 UTC

/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0

2021-11-13 04:20:46 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py

2021-11-13 04:20:46 UTC

/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309

2021-11-13 04:20:53 UTC

/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py

2021-11-13 04:20:54 UTC

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

2022-11-25 23:03:52 UTC

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

2022-11-25 23:03:54 UTC

/bin/sh -c #(nop) COPY file:1547c208dc46342c10bbb60ed974836e3563e8a9af5c9f096d26b1cd3088c1b3 in /

2022-11-25 23:03:59 UTC

/bin/sh -c sh /install-nginx-alpine.sh

2022-11-25 23:04:00 UTC

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

2022-11-25 23:04:01 UTC

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

2022-11-25 23:04:05 UTC

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

2022-11-25 23:04:06 UTC

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

2022-11-25 23:04:07 UTC

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

2022-11-25 23:04:08 UTC

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

2022-11-25 23:04:09 UTC

/bin/sh -c #(nop) COPY file:48c922e5fabde642c5f5fb36555c9a2c3f257dc9348e34da76f3a243d132895c in /etc/supervisor/stop-supervisor.sh

2022-11-25 23:04:09 UTC

/bin/sh -c chmod +x /etc/supervisor/stop-supervisor.sh

2022-11-25 23:04:10 UTC

/bin/sh -c #(nop) ENV UWSGI_PLUGIN=python3

2022-11-25 23:04:11 UTC

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

2022-11-25 23:04:12 UTC

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

2022-11-25 23:04:13 UTC

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

2022-11-25 23:04:14 UTC

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

2022-11-25 23:04:15 UTC

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

2022-11-25 23:04:16 UTC

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

2022-11-25 23:04:17 UTC

/bin/sh -c #(nop) ENV ALPINEPYTHON=python3.8

2022-11-25 23:04:19 UTC

/bin/sh -c #(nop) COPY file:840534dabbfe7e96405c0df8f04a617c3d0787b2062b5ab87331f0e076a4646f in /start.sh

2022-11-25 23:04:19 UTC

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

2022-11-25 23:04:21 UTC

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

2022-11-25 23:04:21 UTC

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

2022-11-25 23:04:22 UTC

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

2022-11-25 23:04:24 UTC

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

2022-11-25 23:04:24 UTC

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

2022-11-25 23:04:25 UTC

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

2022-11-25 23:04:54 UTC

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

2022-11-25 23:04:56 UTC

/bin/sh -c #(nop) COPY file:33bb3dd7c51ddbdebaabbcb09b6251a6241814ce51d5662e676586d00590347b in /tmp/requirements.txt

2022-11-25 23:05:00 UTC

/bin/sh -c pip install --no-cache-dir -r /tmp/requirements.txt

2022-11-25 23:05:00 UTC

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

2022-11-25 23:05:01 UTC

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

2022-11-25 23:05:02 UTC

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

2022-11-25 23:05:04 UTC

/bin/sh -c #(nop) COPY dir:52c0970f0a00bf94c024ecb5ebfaad8996a41703cdd7a3a110a140734d9516f0 in /app

2022-11-25 23:05:04 UTC

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

2022-11-25 23:05:05 UTC

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

2022-11-25 23:05:06 UTC

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

2022-11-25 23:05:08 UTC

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

2022-11-25 23:05:08 UTC

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

2022-11-25 23:05:09 UTC

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

2022-11-25 23:05:10 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