Eric X. Liu eric

docker-youtubedl-material (latest)

Published 2025-08-04 02:07:55 +00:00 by eric

Installation

docker pull git.ericxliu.me/eric/docker-youtubedl-material:latest
sha256:d18712ec28d5b7bc2d7a77ae205cbf2acaa44160837b99825b61e70054ca64cf

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:415bbc01dfb447d002e2d8173e113ef025d2bbfa20f1205823fa699dc87a2019 in /
CMD ["/bin/bash"]
ARG TARGETPLATFORM
ARG DEBIAN_FRONTEND=noninteractive
ENV UID=1000
ENV GID=1000
ENV USER=youtube
ENV NO_UPDATE_NOTIFIER=true
ENV PM2_HOME=/app/pm2
ENV ALLOW_CONFIG_MUTATIONS=true
ENV npm_config_cache=/app/.npm
ENV YTDL_DATABASE_TYPE=local
ENV YTDL_POSTGRESQL_CONNECTION_STRING=local
ENV NODE_VERSION=18.19.0
RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c groupadd -g $GID $USER && useradd --system -m -g $USER --uid $UID $USER && apt update && apt install -y --no-install-recommends curl ca-certificates tzdata libatomic1 && apt clean && rm -rf /var/lib/apt/lists/* # buildkit
RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c mkdir /usr/local/nvm # buildkit
ENV PATH=/usr/local/nvm/versions/node/v18.19.0/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV NVM_DIR=/usr/local/nvm
RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash # buildkit
RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c . "$NVM_DIR/nvm.sh" && nvm install ${NODE_VERSION} # buildkit
RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c . "$NVM_DIR/nvm.sh" && nvm use v${NODE_VERSION} # buildkit
RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c . "$NVM_DIR/nvm.sh" && nvm alias default v${NODE_VERSION} # buildkit
RUN |2 TARGETPLATFORM=linux/amd64 DEBIAN_FRONTEND=noninteractive /bin/sh -c npm install -g npm@10 # buildkit
ARG BUILDPLATFORM
RUN /bin/sh -c apt update && apt install -y --no-install-recommends software-properties-common && add-apt-repository universe && apt update && apt install -y --no-install-recommends gosu python3-minimal python-is-python3 python3-pip atomicparsley build-essential && pip install pycryptodomex && npm install -g pm2 && apt remove -y --purge build-essential software-properties-common && apt autoremove -y --purge && apt clean && rm -rf /var/lib/apt/lists/* # buildkit
WORKDIR /app
COPY /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg # buildkit
COPY /usr/local/bin/ffprobe /usr/local/bin/ffprobe # buildkit
COPY /usr/local/bin/TwitchDownloaderCLI /usr/local/bin/TwitchDownloaderCLI # buildkit
COPY /app/ /app/ # buildkit
COPY /build/backend/public/ /app/public/ # buildkit
RUN /bin/sh -c chmod +x /app/fix-scripts/*.sh # buildkit
EXPOSE map[17442/tcp:{}]
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["npm" "start"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 22.04
Details
Container
2025-08-04 02:07:55 +00:00
8
OCI / Docker
linux/amd64
287 MiB
Versions (5) View all
latest 2025-08-04
2025-08-04-36f919 2025-08-04
2025-08-02-64e009 2025-08-02
2025-08-02-5008d0 2025-08-02
2025-08-01-26a9ef 2025-08-01