docker-youtubedl-material (2024-12-22-72b19d)

Published 2024-12-22 05:33:45 +00:00 by eric

Installation

docker pull git.ericxliu.me/eric/docker-youtubedl-material:2024-12-22-72b19d
sha256:bb5a6734a322a7167943cb7a9bc936132e588c65e3a37051761eb9d8dd1231c5

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 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 NODE_VERSION=16.14.2
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 libicu70 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/v16.14.2/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
ARG BUILDPLATFORM
RUN /bin/sh -c npm install -g pm2 && apt update && apt install -y --no-install-recommends gosu python3-minimal python-is-python3 python3-pip atomicparsley build-essential && pip install pycryptodomex && apt remove -y --purge build-essential && 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
2024-12-22 05:33:45 +00:00
0
OCI / Docker
linux/amd64
298 MiB
Versions (3) View all
2024-12-22-eb73eb 2024-12-22
latest 2024-12-22
2024-12-22-72b19d 2024-12-22