- Göteborg, Sweden
- https://schulze.network
- Joined on
2023-12-16
Block a user
svt-downloader (lean-20261002)
Published 2026-10-16 20:12:22 +02:00 by schulze
Installation
docker pull git.schulze.network/schulze/svt-downloader:lean-20261002sha256:fc277b1aaa422329d122a121d16fb4f873a103dc0e455829d8ce7851534f9a37
About this package
This is the docker image for yt-dlp from the community. (Dockerfile, CI image build)
Image Layers
| ADD alpine-minirootfs-3.24.2-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV LANG=C.UTF-8 |
| RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit |
| ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 |
| ENV PYTHON_VERSION=3.12.14 |
| ENV PYTHON_SHA256=5c8462af5790baf43a321a1559dbe0db06d1be4300fb85fb53c40060668e548a |
| RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev dpkg-dev dpkg findutils g++ gcc gdbm-dev gnupg libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tar tcl-dev tk tk-dev util-linux-dev xz xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(apk --print-arch)"; case "$arch" in x86_64|aarch64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; x86) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" 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; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit |
| RUN /bin/sh -c set -eux; for src in idle3 pip3 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 |
| CMD ["python3"] |
| RUN /bin/sh -c pip3.12 uninstall -y setuptools pip wheel && rm -rf /root/.cache/pip # buildkit |
| ARG UID=1001 |
| RUN |1 UID=1001 /bin/sh -c adduser -g "" -D $UID -u $UID -G root # buildkit |
| RUN |1 UID=1001 /bin/sh -c install -d -m 775 -o $UID -g 0 /download && install -d -m 775 -o $UID -g 0 /licenses # buildkit |
| COPY /ffmpeg /usr/bin/ # buildkit |
| COPY /ffprobe /usr/bin/ # buildkit |
| COPY /dumb-init /usr/bin/ # buildkit |
| COPY --chown=1001:0 --chmod=775 LICENSE /licenses/Dockerfile.LICENSE # buildkit |
| COPY --chown=1001:0 --chmod=775 yt-dlp/LICENSE /licenses/yt-dlp.LICENSE # buildkit |
| COPY --chown=1001:0 --chmod=775 /root/.local /home/1001/.local # buildkit |
| ENV PATH=/home/1001/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |1 UID=1001 /bin/sh -c rm /bin/echo /bin/ln /bin/rm /bin/sh # buildkit |
| WORKDIR /download |
| VOLUME [/download] |
| USER 1001 |
| STOPSIGNAL SIGINT |
| ENTRYPOINT ["dumb-init" "--" "yt-dlp" "--no-cache-dir"] |
| CMD ["--help"] |
| ARG VERSION=2026.08.19 |
| ARG RELEASE=44 |
| LABEL name=jim60105/docker-yt-dlp vendor=yt-dlp maintainer=jim60105 url=https://github.com/jim60105/docker-yt-dlp version=2026.08.19 release=44 io.k8s.display-name=yt-dlp summary=yt-dlp: A feature-rich command-line audio/video downloader. description=yt-dlp is a feature-rich command-line audio/video downloader with support for thousands of sites. The project is a fork of youtube-dl based on the now inactive youtube-dlc. For more information about this tool, please visit the following website: https://github.com/yt-dlp/yt-dlp |
| USER 1001 |
| WORKDIR /app |
| ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 |
| COPY svt_downloader.py /app/svt_downloader.py # buildkit |
| ENTRYPOINT ["/usr/local/bin/python3" "/app/svt_downloader.py"] |
| CMD ["--help"] |
Labels
| Key | Value |
|---|---|
| description | yt-dlp is a feature-rich command-line audio/video downloader with support for thousands of sites. The project is a fork of youtube-dl based on the now inactive youtube-dlc. For more information about this tool, please visit the following website: https://github.com/yt-dlp/yt-dlp |
| io.k8s.display-name | yt-dlp |
| maintainer | jim60105 |
| name | jim60105/docker-yt-dlp |
| org.opencontainers.image.created | 2026-09-18T12:24:28.374Z |
| org.opencontainers.image.description | This is the docker image for yt-dlp from the community. (Dockerfile, CI image build) |
| org.opencontainers.image.licenses | GPL-3.0 |
| org.opencontainers.image.revision | 386547c52e3b0cef85e02dd967202dceb21135ab |
| org.opencontainers.image.source | https://github.com/jim60105/docker-yt-dlp |
| org.opencontainers.image.title | docker-yt-dlp |
| org.opencontainers.image.url | https://github.com/jim60105/docker-yt-dlp |
| org.opencontainers.image.version | 2026.08.19 |
| release | 44 |
| summary | yt-dlp: A feature-rich command-line audio/video downloader. |
| url | https://github.com/jim60105/docker-yt-dlp |
| vendor | yt-dlp |
| version | 2026.08.19 |
Details
2026-10-16 20:12:22 +02:00
Versions (1)
View all
Container
4
OCI / Docker
linux/amd64
GPL-3.0
101 MiB
lean-20261002
2026-10-16