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