2023-10-31 06:33:43 UTC
154 MB
A035C8C19219BA821ECEA86B64E628F8D684696D
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_GET_PIP_SHA256394be00f13fa1b9aaa47e911bdb59a09c3b2986472130f30aa0bfaf7f3980637
PYTHON_GET_PIP_URLhttps://github.com/pypa/get-pip/raw/d5cb0afaf23b8520f1bbcfed521017b4a95f5c01/public/get-pip.py
PYTHON_PIP_VERSION22.3.1
PYTHON_SETUPTOOLS_VERSION65.5.1
PYTHON_VERSION3.11.2
[#000] sha256:c41833b44d910632b415cd89a9cdaa4d62c9725dc56c99a7ddadafd6719960f9 - 2.01% (3.11 MB)
[#001] sha256:74b3a271aef90b25de0dfddcaf22c79ffa1fc32f1e9eac89f21fdd8162c30666 - 0.39% (610 KB)
[#002] sha256:bcc23d2a8c68635d3b76d8d0c6e44414091aa8b8171a3e76fb63d2bfaef4d221 - 7.7% (11.9 MB)
[#003] sha256:9bdb0d410498a274ab87a95bfe125ff2f3ff77243422868a053a04975f3c33fc - 0.0% (238 Bytes)
[#004] sha256:23ef09bb673bb7e05d41edd3e448a1192a0388395f0bd9c255aa5e694ef51f29 - 1.9% (2.94 MB)
[#005] sha256:ca02da35295e1f9c5a8c154475457ce72f2578352bda556af98af89f9150cebd - 0.0% (92 Bytes)
[#006] sha256:bb10c89933062720ac255f71f801620ebf9e4635f38be4407390e942947884fe - 9.79% (15.1 MB)
[#007] sha256:5f183618358c0a800daf91904d1fc0417e30515485394ce8c1139e6e6a0248db - 18.83% (29.1 MB)
[#008] sha256:bcf2003eddf335c5342934ff1b0bbe7ff518d15e28996bb1fc3cbe5723842f97 - 59.08% (91.2 MB)
[#009] sha256:bcfe8c950d9147e143600198983be97d744038a4e859a21d3873b5929501f68a - 0.0% (5.79 KB)
[#010] sha256:d6b9630986e684e540034e4cfaf03e8bd0368b56c720fb31c21e1e99222fb79d - 0.29% (465 KB)
[#011] sha256:f346e030cd2d52b58ab2506e38ccd37fe0d2780f52b13e34bcb77e71107d8a28 - 0.0% (5.79 KB)
/bin/sh -c #(nop) ADD file:e51d4089e73ad6dee52b31f0c8059a00c17df6e23f6741fe11b43bd84cc99008 in /
2023-03-29 17:39:18 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.11.2
2023-03-29 17:39: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; command -v gpgconf > /dev/null && 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
2023-03-29 17:39: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
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_PIP_VERSION=22.3.1
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/d5cb0afaf23b8520f1bbcfed521017b4a95f5c01/public/get-pip.py
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)ENV PYTHON_GET_PIP_SHA256=394be00f13fa1b9aaa47e911bdb59a09c3b2986472130f30aa0bfaf7f3980637
2023-03-29 17:39: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
2023-03-29 17:39:18 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2023-10-30 02:07:36 UTC (buildkit.dockerfile.v0)WORKDIR /app
2023-10-31 06:33:26 UTC (buildkit.dockerfile.v0)COPY /usr/bin/rclone /app/rclone/rclone # buildkit
2023-10-31 06:33:27 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages # buildkit
2023-10-31 06:33:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --no-cache openblas-dev ffmpeg # buildkit
2023-10-31 06:33:43 UTC (buildkit.dockerfile.v0)COPY config.yaml data.yaml setup.py media_downloader.py /app/ # buildkit
2023-10-31 06:33:43 UTC (buildkit.dockerfile.v0)COPY module /app/module # buildkit
2023-10-31 06:33:43 UTC (buildkit.dockerfile.v0)COPY utils /app/utils # buildkit
2023-10-31 06:33:43 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.