Dockerfile.yt-dl 307 B

123456789101112
  1. FROM arm32v6/bash
  2. RUN apk add curl python2 \
  3. && curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
  4. && chmod a+rx /usr/local/bin/youtube-dl
  5. && apk del curl
  6. USER nobody
  7. ENTRYPOINT ["/usr/local/bin/youtube-dl"]
  8. CMD ["-g", "https://www.youtube.com/watch?v=FJWd92Vi5Ww"]