add youtubedl
This commit is contained in:
@@ -1,16 +1,20 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH debian:stable-slim
|
FROM --platform=$TARGETOS/$TARGETARCH debian:stable-slim
|
||||||
|
|
||||||
LABEL maintainer="ki2007 <ki2007@damw.eu>" version="1.0"
|
LABEL org.opencontainers.image.authors="i2007@damw.eu"
|
||||||
|
LABEL version="1.0"
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
# Install Dependencies
|
# Install Dependencies
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y ca-certificates less locales pulseaudio python python3 sudo x11vnc x11-xkb-utils xvfb iproute2 \
|
&& apt install -y ca-certificates less locales pulseaudio python python3 sudo x11vnc x11-xkb-utils xvfb iproute2 ffmpeg curl \
|
||||||
libasound2 libegl1-mesa libglib2.0-0 libnss3 libpci3 libpulse0 libxcursor1 libxslt1.1 libx11-xcb1 libxkbcommon0 \
|
libasound2 libegl1-mesa libglib2.0-0 libnss3 libpci3 libpulse0 libxcursor1 libxslt1.1 libx11-xcb1 libxkbcommon0 \
|
||||||
&& useradd -m -d /home/container container
|
&& useradd -m -d /home/container container
|
||||||
|
|
||||||
|
RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl \
|
||||||
|
&& chmod a+rx /usr/local/bin/youtube-dl
|
||||||
|
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
ENV LC_ALL C.UTF-8
|
ENV LC_ALL C.UTF-8
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user