ytdl-sub/docker/Dockerfile
Jesse Bannon ee6706334f
ytdl_options defaults for each download strategy (#72)
* `ytdl_options` defaults for each download strategy

* fix docker, fix defaults getting added, add debugger test

* test playlist as well

* fix with hack

* fix full channel test

* existing
2022-06-14 00:03:01 -07:00

38 lines
826 B
Docker

FROM ghcr.io/linuxserver/baseimage-alpine:3.15
###############################################################################
# YTDL-SUB INSTALL
COPY root/ /
RUN apk update --no-cache && \
apk add \
vim \
g++ \
make \
ffmpeg && \
apk del \
python3 \
py3-pip && \
apk add --repository=http://dl-3.alpinelinux.org/alpine/edge/main/ \
python3=~3.10 \
py3-setuptools && \
apk add --repository=http://dl-3.alpinelinux.org/alpine/edge/community/ \
py3-pip && \
mkdir -p /config && \
pip install --no-cache-dir ytdl_sub-*.whl && \
rm ytdl_sub-*.whl && \
apk del \
g++ \
make
###############################################################################
# CONTAINER CONFIGS
ENV EDITOR="nano" \
HOME="/config"
VOLUME /config