2024-02-29 17:15:49 UTC
251 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA256dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
PYTHON_PIP_VERSION24.0
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.8
[#000] sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 - 1.3% (3.25 MB)
[#001] sha256:dca80dc46cecdd1a97787a1dd6f74263b9d2f7b0dd3e2e15c109f5e34848c932 - 0.24% (608 KB)
[#002] sha256:1eedcd8cec5653cf18f418910cf3a85a6fa05204897bcd3d59b2ffe4f22fc5e7 - 4.82% (12.1 MB)
[#003] sha256:6d299437f6b433cfb6303b1f5ed739cb25eab4e32ae16e096aacefe4dcd86464 - 0.0% (239 Bytes)
[#004] sha256:655c65f49da74e6db86d39a9bd3acb6dc6d26afa77f4781bbcf1843305d03211 - 1.19% (2.98 MB)
[#005] sha256:ed981d69b5e2d763893d6d5fec40e4fd7c53e84ee273642cb9c02ea917151667 - 0.0% (164 Bytes)
[#006] sha256:27188a8845580c8f543128fe3c3fdb83f73bfc9b658f80adcd862807d12e9666 - 0.0% (259 Bytes)
[#007] sha256:6980477a1ec3621eaed9b219c4847fb46b5f88878eef103a63a7fd98e628d12a - 92.45% (232 MB)
[#008] sha256:8cf7163068648ef2d2bed53a3fc590d58eecbe6bff4d4fdaddd8c88fc9830422 - 0.0% (7.35 KB)
[#009] sha256:3d0538cd8df725dd668861794fe4d4af15818ffd1fa875ff1d28c78a53675be7 - 0.0% (10.6 KB)
[#010] sha256:f1f4adc462bfcfd411bd6322365fca8a893e705e56a716fe6ad509eff7354d9a - 0.0% (145 Bytes)
[#011] sha256:88365a05c58c00f02aacc24aeb3552dd958750823de0ebf96f9c9d6faf0de36e - 0.0% (3.63 KB)
[#012] sha256:9a6de2605ea2e98d83c40c5beed59ba00549214d7dfd025b23d1054c1135d081 - 0.0% (3.63 KB)
/bin/sh -c #(nop) ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
2024-01-27 00:30:48 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.8
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev 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 ; 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"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; 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-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; 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 'libpython*.a' \) \) \) -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-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=24.0
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit
2024-02-07 04:49:18 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-02-27 07:30:52 UTC (buildkit.dockerfile.v0)ARG VERSION
2024-02-27 07:30:52 UTC (buildkit.dockerfile.v0)ARG COMMIT=
2024-02-27 07:30:52 UTC (buildkit.dockerfile.v0)RUN |2 VERSION=1.3.10 COMMIT=5b3959848710449495f26d635d0f178064d52d89 /bin/sh -c echo -e "VERSION=$VERSION\nCOMMIT=$COMMIT" > /version.env # buildkit
2024-02-27 07:30:52 UTC (buildkit.dockerfile.v0)COPY requirements.txt /tmp/requirements.txt # buildkit
2024-02-27 07:42:10 UTC (buildkit.dockerfile.v0)RUN |2 VERSION=1.3.10 COMMIT=5b3959848710449495f26d635d0f178064d52d89 /bin/sh -c apk update && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev pkgconfig && apk add --no-cache curl postgresql postgresql-dev mariadb-dev sqlite-dev && pip install --no-cache-dir --upgrade uvicorn && pip install --no-cache-dir psycopg2==2.9.6 mysqlclient==2.2.0 pysqlite3==0.5.1 && pip install --no-cache-dir -r /tmp/requirements.txt && apk del build-deps # buildkit
2024-02-27 07:42:10 UTC (buildkit.dockerfile.v0)COPY app /app # buildkit
2024-02-27 07:42:10 UTC (buildkit.dockerfile.v0)COPY README.md /README.md # buildkit
2024-02-27 07:42:10 UTC (buildkit.dockerfile.v0)HEALTHCHECK &{["CMD-SHELL" "curl --insecure --fail https://localhost/-/health || exit 1"] "10s" "5s" "30s" "0s" '\x03'}
2024-02-27 07:42:10 UTC (buildkit.dockerfile.v0)CMD ["uvicorn" "main:app" "--host" "0.0.0.0" "--port" "443" "--app-dir" "/app" "--proxy-headers" "--ssl-keyfile" "/app/cert/webserver.key" "--ssl-certfile" "/app/cert/webserver.crt"]
2024-02-29 17:15:48 UTC/bin/sh -c mkdir -p /app/cert
2024-02-29 17:15:49 UTC/bin/sh -c #(nop) COPY multi:cf6374a89c98fbe27abc400c3443f0132be240a140d010661bd421061535efab in /app/cert/
2024-02-29 17:15:49 UTC/bin/sh -c chmod -R a+rw /app/cert/*
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.