gamdl-docker (245011c5bfff4d46f39d1f56d1959ffaa806c782)

Published 2024-04-09 00:43:30 +00:00 by Cronocide in Cronocide/gamdl-docker

Installation

docker pull git.cronocide.net/cronocide/gamdl-docker:245011c5bfff4d46f39d1f56d1959ffaa806c782
sha256:461e97f368dfa74711f921cb418261ac654c539db57700eb8d17c84fa7acf094

Image Layers

ADD file:ff6bc341b5945acf6b9c190d70b5f5806fb3fae7b5c568ad6395aec1b95ba89c in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/*
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; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/* # buildkit
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
ENV PYTHON_VERSION=3.12.2
RUN /bin/sh -c set -eux; 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="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 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; bin="$(readlink -ve /usr/local/bin/python3)"; dir="$(dirname "$bin")"; mkdir -p "/usr/share/gdb/auto-load/$dir"; cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; 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 '{}' + ; ldconfig; python3 --version # buildkit
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
ENV PYTHON_PIP_VERSION=24.0
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py
ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9
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" ; rm -f get-pip.py; pip --version # buildkit
CMD ["python3"]
ENV PROJ_NAME=gamdl
ENV MP4DECRYPT=Bento4-SDK-1-6-0-641.x86_64-unknown-linux
ENV M3U8DL=N_m3u8DL-RE_Beta_linux-x64_20230628
ENV M3U8DL_URL=https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.0-beta/N_m3u8DL-RE_Beta_linux-x64_20230628.tar.gz
ENV MP4BOX=gpac_2.2.1-rev0-gb34e3851-release-2.2_amd64
ENV MP4BOX_URL=https://download.tsi.telecom-paristech.fr/gpac/release/2.2.1/gpac_2.2.1-rev0-gb34e3851-release-2.2_amd64.deb
RUN /bin/sh -c apt-get update && apt-get install -y ffmpeg libmad0 libglu1 libglu1-mesa libfaad2 liba52-0.7.4 libavcodec58 # buildkit
RUN /bin/sh -c wget "https://www.bok.net/Bento4/binaries/$MP4DECRYPT.zip" -O /bento.zip # buildkit
RUN /bin/sh -c unzip -d / /bento.zip # buildkit
RUN /bin/sh -c mv /$MP4DECRYPT/bin/* /usr/bin/ # buildkit
RUN /bin/sh -c rm -rf /$MP4DECRYPT # buildkit
RUN /bin/sh -c rm /bento.zip # buildkit
RUN /bin/sh -c pip3 install pywidevine pyyaml # buildkit
RUN /bin/sh -c wget "$MP4BOX_URL" # buildkit
RUN /bin/sh -c dpkg --install "$MP4BOX".deb # buildkit
RUN /bin/sh -c rm "$MP4BOX".deb # buildkit
RUN /bin/sh -c wget $M3U8DL_URL -O $M3U8DL.tar.gz # buildkit
RUN /bin/sh -c tar -xf $M3U8DL.tar.gz -C / # buildkit
RUN /bin/sh -c rm $M3U8DL.tar.gz # buildkit
RUN /bin/sh -c mv /N_m3u8DL-RE*/N_m3u8DL-RE /bin/N_m3u8DL-RE # buildkit
RUN /bin/sh -c chmod +x /bin/N_m3u8DL-RE # buildkit
RUN /bin/sh -c git clone https://github.com/glomatico/gamdl.git # buildkit
RUN /bin/sh -c pip3 install /gamdl/ # buildkit
ADD ./config.json /root/.gamdl/config.json # buildkit
ADD ./entrypoint.sh / # buildkit
CMD ["/entrypoint.sh"]

Labels

Key Value
net.cronocide.build-info.build-time Tue Apr 9 00:41:01 UTC 2024
net.cronocide.build-info.git-branch (HEAD
net.cronocide.build-info.git-commit 245011c5bfff4d46f39d1f56d1959ffaa806c782
net.cronocide.build-info.git-repo https://git.cronocide.net/Cronocide/gamdl-docker.git
org.opencontainers.image.source https://git.cronocide.net/cronocide/gamdl-docker
org.opencontainers.image.title gamdl-docker
org.opencontainers.image.url https://git.cronocide.net
org.opencontainers.image.vendor cronocide.net
Details
Container
2024-04-09 00:43:30 +00:00
2
OCI / Docker
linux/amd64
618 MiB
Versions (18) View all