media-sucker/Dockerfile

36 lines
823 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 \
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 \
busybox \
jq \
procps \
cowsay
COPY scripts /scripts
COPY abcde.conf httpd.conf /etc/
COPY --chown=linuxserver:linuxserver www /www
USER linuxserver
ENTRYPOINT ["/scripts/init.sh"]
# vi: ts=2 sw=2 et ai