media-sucker/Dockerfile

30 lines
766 B
Docker

FROM debian
RUN true \
&& groupadd -g 911 linuxserver \
&& useradd -u 911 -g linuxserver -G cdrom linuxserver \
&& sed -i 's/main$/main contrib non-free/' /etc/apt/sources.list \
&& apt-get -y update \
&& DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install \
dvdbackup \
libdvd-pkg libdvdcss2 \
handbrake-cli libavcodec-extra \
cd-discid cdparanoia lame \
python3 \
python3-slugify \
&& true
RUN dpkg-reconfigure libdvd-pkg
RUN true \
&& DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install \
cowsay
COPY src/* /app/
COPY abcde.conf httpd.conf /etc/
COPY --chown=linuxserver:linuxserver www /www
USER linuxserver
ENTRYPOINT ["python3", "/app/sucker.py"]
# vi: ts=2 sw=2 et ai