Block a user
tubesync (latest)
Published 2026-09-30 17:24:38 +02:00 by wimby
Installation
docker pull git.wimby.cz/wimby/tubesync:latestsha256:a8be3dfc8002f4c13513094d0f04ef4ac74936ea8607a22c74a9bd9ad9013abc
Image Layers
| # debian.sh --arch 'arm64' out/ 'trixie' '@1789689600' |
| ARG TARGETARCH=arm64 |
| ENV DEBIAN_FRONTEND=noninteractive APT_KEEP_ARCHIVES=1 EDITOR=editor HOME=/root LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 TERM=xterm PIP_NO_COMPILE=1 PIP_ROOT_USER_ACTION=ignore |
| COPY /etc/debconf.conf /etc/debconf.conf # buildkit |
| COPY /usr/share/perl5/Debconf/DbDriver/Copy.pm /usr/share/perl5/Debconf/DbDriver/Copy.pm # buildkit |
| COPY /usr/share/perl5/Debconf/DbDriver/PackageDir.pm /usr/share/perl5/Debconf/DbDriver/PackageDir.pm # buildkit |
| RUN |1 TARGETARCH=arm64 /bin/sh -c rm -f /var/cache/apt/*cache.bin ; rm -f /etc/apt/apt.conf.d/docker-clean ; printf -- >| /etc/apt/apt.conf.d/docker-disable-pkgcache 'Dir::Cache::%spkgcache "";\n' '' src ; chmod a+r /etc/apt/apt.conf.d/docker-disable-pkgcache ; mkdir -v /var/cache/debconf/docker-templates ; set -x && dpkg -s | grep -B 3 -e '^Status: install ok installed$' | grep -e '^Package: ' | cut -d : -f 2- | xargs -r -t apt-mark hold && apt-mark unhold libc6 libssl3t64 && apt-get update && _awk_prog='"Suites:" == $1 && /-security$/ { sub("security", "backports"); print; exit; }' && _awk_output=$(awk "${_awk_prog}" /etc/apt/sources.list.d/debian.sources) && printf -- >| /etc/apt/sources.list.d/debian-backports.sources '%s\n' 'Types: deb' 'URIs: http://deb.debian.org/debian' "${_awk_output}" 'Components: main' 'Signed-By: /usr/share/keyrings/debian-archive-keyring.pgp' && unset -v _awk_output _awk_prog && chmod a+r /etc/apt/sources.list.d/debian-backports.sources && LC_ALL='C.UTF-8' LANG='C.UTF-8' LANGUAGE='C.UTF-8' apt-get -y --no-install-recommends install locales && printf -- "en_US.UTF-8 UTF-8\n" > /etc/locale.gen && locale-gen && apt-get -y autopurge && apt-get -y autoclean # buildkit |
| COPY /etc/apt/trusted.gpg.d/openresty.gpg /etc/apt/trusted.gpg.d/openresty.gpg # buildkit |
| COPY /etc/apt/sources.list.d/openresty.list /etc/apt/sources.list.d/openresty.list # buildkit |
| RUN |1 TARGETARCH=arm64 /bin/sh -c mkdir -v -p /etc/crypto-policies/back-ends && cp -v -p /usr/share/apt/default-sequoia.config /etc/crypto-policies/back-ends/apt-sequoia.config && sed -i -e '/^sha1\./s/2026-/2027-/;' /etc/crypto-policies/back-ends/apt-sequoia.config # buildkit |
| RUN |1 TARGETARCH=arm64 /bin/sh -c set -x && apt-get update && apt-get -y --no-install-recommends install nginx-common openresty && apt-get -y autopurge && apt-get -y autoclean # buildkit |
| ARG S6_VERSION=3.2.2.0 |
| ARG FFMPEG_DATE=2026-09-30-00-16 |
| ARG FFMPEG_VERSION=N-127014-g18ee27e67b |
| ARG TARGETARCH=arm64 |
| ENV S6_VERSION=3.2.2.0 FFMPEG_DATE=2026-09-30-00-16 FFMPEG_VERSION=N-127014-g18ee27e67b DENO_NO_PROMPT=1 DENO_NO_UPDATE_CHECK=1 |
| RUN |4 TARGETARCH=arm64 S6_VERSION=3.2.2.0 FFMPEG_DATE=2026-09-30-00-16 FFMPEG_VERSION=N-127014-g18ee27e67b /bin/sh -c set -x && apt-get update && apt-get -y --no-install-recommends install libmariadb3 libonig5 pkgconf python3 python3-libsass python3-pip-whl python3-socks busybox-syslogd curl indent less lua-lpeg tre-agrep vis xxd && ln -v -s -f -T "$(find /usr/local/lib -name 'python3.[0-9]*' -type d -printf '%P\n' | sort -r -V | head -n 1)" /usr/local/lib/python3 && touch /usr/local/bin/babi /bin/nano /usr/bin/vim.tiny && update-alternatives --install /usr/bin/editor editor /usr/local/bin/babi 50 && update-alternatives --install /usr/local/bin/nano nano /bin/nano 10 && update-alternatives --install /usr/local/bin/nano nano /usr/local/bin/babi 20 && update-alternatives --install /usr/local/bin/vim vim /usr/bin/vim.tiny 15 && update-alternatives --install /usr/local/bin/vim vim /usr/bin/vis 35 && rm -v /usr/local/bin/babi /bin/nano /usr/bin/vim.tiny && printf >| /usr/local/bin/sqlite3 -- '%s\n' '#!/usr/bin/env sh' '' 'if [ -x /usr/bin/sqlite3 ]; then exec /usr/bin/sqlite3 "$@" ; fi;' '' 'exec /usr/bin/env python3 -m sqlite3 "$@"' && chmod -c 00755 /usr/local/bin/sqlite3 && groupadd app && useradd -M -d /app -s /bin/false -g app app && apt-get -y autopurge && apt-get -y autoclean # buildkit |
| COPY / / # buildkit |
| COPY /usr/local/bin/ /usr/local/bin/ # buildkit |
| COPY /usr/local/sbin/ /usr/local/sbin/ # buildkit |
| RUN |4 TARGETARCH=arm64 S6_VERSION=3.2.2.0 FFMPEG_DATE=2026-09-30-00-16 FFMPEG_VERSION=N-127014-g18ee27e67b /bin/sh -c set -x && apt-get update && apt-get -y --no-install-recommends install file && file -L /command/s6-overlay-suexec && /usr/local/bin/ffmpeg -version && file /usr/local/bin/ff* && /usr/local/sbin/qjs --help | grep -Fe 'QuickJS version' && file /usr/local/sbin/qjs && apt-get -y autoremove --purge file && apt-get -y autopurge && apt-get -y autoclean # buildkit |
| WORKDIR /app |
| ARG YTDLP_DATE=2026.08.19 |
| RUN |5 TARGETARCH=arm64 S6_VERSION=3.2.2.0 FFMPEG_DATE=2026-09-30-00-16 FFMPEG_VERSION=N-127014-g18ee27e67b YTDLP_DATE=2026.08.19 /bin/sh -c set -x && DENO_DIR=/cache/deno && export DENO_DIR && deno --version && uv --version && apt-get update && apt-get -y --no-install-recommends install default-libmysqlclient-dev g++ gcc libjpeg-dev libonig-dev libpq-dev libwebp-dev make postgresql-common python3-dev zlib1g-dev && mkdir -v -p /cache/.home-directories && cp -at /cache/.home-directories/ "${HOME}" && HOME="/cache/.home-directories/${HOME#/}" XDG_CACHE_HOME='/cache' PIPENV_VERBOSITY=64 PYTHONPYCACHEPREFIX=/cache/pycache uv tool run --no-config --no-progress --no-managed-python -- pipenv lock && HOME="/cache/.home-directories/${HOME#/}" XDG_CACHE_HOME='/cache' PIPENV_VERBOSITY=1 PYTHONPYCACHEPREFIX=/cache/pycache uv tool run --no-config --no-progress --no-managed-python -- pipenv requirements --from-pipfile --hash >| /cache/requirements.txt && rm -v Pipfile.lock && cat -v /cache/requirements.txt && HOME="/cache/.home-directories/${HOME#/}" UV_LINK_MODE='copy' XDG_CACHE_HOME='/cache' PYTHONPYCACHEPREFIX=/cache/pycache uv --no-config --no-progress --no-managed-python pip install --strict --system --break-system-packages --requirements /cache/requirements.txt && apt-get -y autoremove --purge default-libmysqlclient-dev g++ gcc libjpeg-dev libonig-dev libpq-dev libwebp-dev make postgresql-common python3-dev zlib1g-dev && apt-get -y autopurge && apt-get -y autoclean && LD_LIBRARY_PATH=/usr/local/lib/python3/dist-packages/pillow.libs:/usr/local/lib/python3/dist-packages/psycopg_binary.libs find /usr/local/lib/python3/dist-packages/ -name '*.so*' -print -exec du -h '{}' ';' -exec ldd '{}' ';' >| /cache/python-shared-objects 2>&1 && rm -v -rf /tmp/* ; if grep >/dev/null -Fe ' => not found' /cache/python-shared-objects ; then cat -v /cache/python-shared-objects ; printf -- 1>&2 '%s\n' ERROR: ' An unresolved shared object was found.' ; exit 1 ; fi # buildkit |
| COPY config/root / # buildkit |
| COPY patches/hat/ /usr/local/lib/python3/dist-packages/hat/ # buildkit |
| COPY patches/yt_dlp/ /usr/local/lib/python3/dist-packages/yt_dlp/ # buildkit |
| COPY /app /app # buildkit |
| RUN |5 TARGETARCH=arm64 S6_VERSION=3.2.2.0 FFMPEG_DATE=2026-09-30-00-16 FFMPEG_VERSION=N-127014-g18ee27e67b YTDLP_DATE=2026.08.19 /bin/sh -c command -v deno || exit 0 ; PYTHONPYCACHEPREFIX='/cache/pycache' && export PYTHONPYCACHEPREFIX && set -x && XDG_CACHE_HOME='/cache' && export XDG_CACHE_HOME && DENO_DIR='/cache/deno' && export DENO_DIR && cd /app/bgutil-ytdlp-pot-provider/server && install -v -t /usr/local/bin ../node && mkdir -v -p /cache/.home-directories && cp -at /cache/.home-directories/ "${HOME}" && HOME="/cache/.home-directories/${HOME#/}" && DENO_COMPAT=1 deno run --no-config -A npm:npm ci --no-audit --no-fund && DENO_COMPAT=1 deno run --no-config -A npm:npm audit fix && node npm:typescript/tsc # buildkit |
| RUN |5 TARGETARCH=arm64 S6_VERSION=3.2.2.0 FFMPEG_DATE=2026-09-30-00-16 FFMPEG_VERSION=N-127014-g18ee27e67b YTDLP_DATE=2026.08.19 /bin/sh -c set -x && PYTHONDONTWRITEBYTECODE=1 && export PYTHONDONTWRITEBYTECODE && ( deno_binary="$(command -v deno)" ; test '!' -n "${deno_binary}" || /app/install_deno.sh --only-record-version ; ) && test '!' -e /app/db.sqlite3 && busybox syslogd -l 7 -O - -f /etc/s6-overlay/s6-rc.d/busybox-syslogd/dependencies.d/base && /usr/bin/python3 -B /app/manage.py compilescss && /usr/bin/python3 -B /app/manage.py collectstatic --no-input --link && gunicorn --config /app/tubesync/gunicorn.py --check-config && rm -rf /dev/log /config /downloads /run/app && mkdir -v -p /run/app && mkdir -v -p /config/media /config/tasks && mkdir -v -p /config/cache/pycache && mkdir -v -p /downloads/audio && mkdir -v -p /downloads/video && openresty -c /etc/nginx/nginx.conf -e stderr -t && ffmpeg_version=$(/usr/local/bin/ffmpeg -version | awk -v 'ev=31' '1 == NR && "ffmpeg" == $1 { print $3; ev=0; } END { exit ev; }') && test -n "${ffmpeg_version}" && printf -- "ffmpeg_version = '%s'\n" "${ffmpeg_version}" >> /app/common/third_party_versions.py && qjs_version=$(/usr/local/sbin/qjs --help | awk -v 'ev=31' '1 == NR && "version" == $2 { print $3; ev=0; } END { exit ev; }') && test -n "${qjs_version}" && printf -- "qjs_version = '%s'\n" "${qjs_version}" >> /app/common/third_party_versions.py # buildkit |
| HEALTHCHECK {Test:[CMD /app/healthcheck.py] Interval:1m0s Timeout:10s StartPeriod:3m0s StartInterval:0s Retries:0} |
| ENV DENO_DIR=/config/cache/deno PYTHON_BASIC_REPL=1 PYTHONPATH=/app PYTHONPYCACHEPREFIX=/config/cache/pycache S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 XDG_CACHE_HOME=/config/cache XDG_CONFIG_HOME=/config/tubesync XDG_STATE_HOME=/config/state |
| EXPOSE [4848/tcp] |
| VOLUME [/config /downloads] |
| ENTRYPOINT ["/init"] |
Details
2026-09-30 17:24:38 +02:00
Versions (9)
View all
Container
0
OCI / Docker
linux/arm64
242 MiB
ece7d1bfad05
2026-09-30
latest
2026-09-30
b322e2b24de9
2026-09-29
a48a7cb4f6cf
2026-09-29
888b7e442657
2026-09-28