media-sucker/Dockerfile

37 lines
843 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 \
ffmpeg \
handbrake-cli libavcodec-extra \
abcde eyed3 \
glyrc setcd eject \
dvdbackup \
libdvd-pkg libdvdcss2 \
python3 \
cowsay \
&& true
RUN dpkg-reconfigure libdvd-pkg
RUN true \
&& DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends -y install \
lame \
2022-01-06 17:33:25 -07:00
busybox \
jq \
2022-01-06 12:31:30 -07:00
procps \
2022-01-09 16:26:12 -07:00
moreutils \
2022-01-06 12:31:30 -07:00
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