2025-11-11 03:36:56 UTC
61.3 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA256bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py
PYTHON_PIP_VERSION24.0
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.9
[#000] sha256:43c4264eed91be63b206e17d93e75256a6097070ce643c5e8f0379998b44f170 - 5.64% (3.46 MB)
[#001] sha256:b9afd1f50702b9ff2b187430471498298c96d4919de0ed435aa4ecaf72ba6534 - 0.71% (444 KB)
[#002] sha256:8068c973c3ecc523cec597574d23f6fe384aee2c1b7c6f0cd54b2d84ba857e70 - 19.71% (12.1 MB)
[#003] sha256:aa7d806471fdf84576e269237ffa832b9840d1a8c9e8adf5de53ca7aa92e54b9 - 0.0% (229 Bytes)
[#004] sha256:420e49ae696c51bf9aa15e83080c0642570ec1b0bb3856c2b8a870b5bac450e5 - 4.87% (2.99 MB)
[#005] sha256:18b83b4969390134ed98d07791e92a9d964e625c3a741b8aed95e8cf37ad7108 - 0.0% (93 Bytes)
[#006] sha256:5e22293f5c5fc6fd59603ef393b881ea358b91c3e92e620522557cf05a3ea84b - 43.05% (26.4 MB)
[#007] sha256:bf594c1f7eaf03f10f3a500ae06c87d58d63867af7e44c72573fac8d1dd65e68 - 25.26% (15.5 MB)
[#008] sha256:21af585b5fac140869cc07f0ebdfc67dfecc563d390c7fd7f92e9b3b8c8a79e3 - 0.01% (6.07 KB)
[#009] sha256:1e30e65f2b24e5226b6e7128342601c749f6a4993ffc303c43e53955fa2d157f - 0.75% (470 KB)
[#010] sha256:c1ce671003f9ae6e7d1697914f4adaf1c86a6c6b2892e05e8f5d2eb90285d8a1 - 0.01% (6.07 KB)
/bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /
2024-08-29 23:26:33 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.9
2024-08-29 23:26:33 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 $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--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-08-29 23:26:33 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-08-29 23:26:33 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=24.0
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a
2024-08-29 23:26:33 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" wheel ; rm -f get-pip.py; pip --version # buildkit
2024-08-29 23:26:33 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2025-11-09 04:23:10 UTC (buildkit.dockerfile.v0)WORKDIR /app
2025-11-09 04:23:56 UTC (buildkit.dockerfile.v0)COPY /usr/bin/rclone /app/rclone/rclone # buildkit
2025-11-09 04:23:58 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages # buildkit
2025-11-09 08:41:53 UTC (buildkit.dockerfile.v0)COPY config.yaml data.yaml setup.py media_downloader.py /app/ # buildkit
2025-11-11 03:36:56 UTC (buildkit.dockerfile.v0)COPY module /app/module # buildkit
2025-11-11 03:36:56 UTC (buildkit.dockerfile.v0)COPY utils /app/utils # buildkit
2025-11-11 03:36:56 UTC (buildkit.dockerfile.v0)CMD ["python" "media_downloader.py"]
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.