From df290261e64230c64a323e820697453b9f5e3a20 Mon Sep 17 00:00:00 2001 From: Torsten Widmann Date: Sat, 1 Oct 2022 10:58:54 +0200 Subject: [PATCH] add youtubedl --- bot/sinusbot/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bot/sinusbot/Dockerfile b/bot/sinusbot/Dockerfile index e61aea4..f1f435b 100644 --- a/bot/sinusbot/Dockerfile +++ b/bot/sinusbot/Dockerfile @@ -1,16 +1,20 @@ FROM --platform=$TARGETOS/$TARGETARCH debian:stable-slim -LABEL maintainer="ki2007 " version="1.0" +LABEL org.opencontainers.image.authors="i2007@damw.eu" +LABEL version="1.0" ENV DEBIAN_FRONTEND noninteractive # Install Dependencies RUN apt update \ && 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 \ && 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 LC_ALL C.UTF-8