ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:7f9a3c5a4231ed19174c21d17ce05d84d568cff6d3a0c2a1d7c3a9be5e45c02c in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c apt update -y # buildkit |
RUN /bin/sh -c DEBIAN_FRONTEND=noninteractive apt upgrade -y # buildkit |
RUN /bin/sh -c DEBIAN_FRONTEND=noninteractive apt install -y ffmpeg python3 curl python3-pip python-is-python3 # buildkit |
RUN /bin/sh -c python3 -m pip install --no-deps -U yt-dlp # buildkit |
RUN /bin/sh -c mv /usr/local/bin/yt-dlp /usr/bin/youtube-dl # buildkit |
RUN /bin/sh -c chmod +x /usr/bin/youtube-dl # buildkit |
RUN /bin/sh -c pip3 install requests eyed3 youtube-search-python typer # buildkit |
COPY lidarr_youtube_downloader/lyd.py / # buildkit |
COPY lidarr_youtube_downloader/view/ /view # buildkit |
CMD ["python3" "-u" "/lyd.py"] |