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 \
|
2022-11-06 10:34:43 -07:00
|
|
|
dvdbackup lsdvd libdvd-pkg libdvdcss2 \
|
2022-08-25 10:17:25 -06:00
|
|
|
cd-discid cdparanoia lame \
|
2022-11-06 10:34:43 -07:00
|
|
|
handbrake-cli libavcodec-extra \
|
|
|
|
python3 python3-slugify \
|
2022-01-06 12:31:30 -07:00
|
|
|
&& true
|
|
|
|
RUN dpkg-reconfigure libdvd-pkg
|
|
|
|
|
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
|