media-sucker/Dockerfile

30 lines
766 B
Docker
Raw Normal View History

2022-01-06 12:31:30 -07:00
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 \
2022-08-25 10:17:25 -06:00
handbrake-cli libavcodec-extra \
cd-discid cdparanoia lame \
2022-01-06 12:31:30 -07:00
python3 \
2022-08-25 10:17:25 -06:00
python3-slugify \
2022-01-06 12:31:30 -07:00
&& true
RUN dpkg-reconfigure libdvd-pkg
RUN true \
&& DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install \
cowsay
2022-05-24 17:56:07 -06:00
COPY src/* /app/
2022-01-06 17:33:25 -07:00
COPY abcde.conf httpd.conf /etc/
COPY --chown=linuxserver:linuxserver www /www
2022-01-06 12:31:30 -07:00
USER linuxserver
2022-05-24 17:56:07 -06:00
ENTRYPOINT ["python3", "/app/sucker.py"]
2022-01-06 17:33:25 -07:00
# vi: ts=2 sw=2 et ai