downloadtools_docker/Dockerfile

10 lines
656 B
Docker

FROM fedora:36
ENV VIRTUAL_ENV=/opt/venv
RUN dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm -y
RUN dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel lame\* --exclude=lame-devel ffmpeg python3-pip -y util-linux prename
RUN dnf group install --with-optional Multimedia -y
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install yt-dlp spotify_dl eyed3
ENTRYPOINT ["/bin/bash"]