36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
FROM phusion/baseimage
|
|
|
|
MAINTAINER Zepheris <zepheris.craty@gmail.com>
|
|
|
|
#RUN rm -f /etc/service/sshd/down
|
|
|
|
# Regenerate SSH host keys. baseimage-docker does not contain any, so you
|
|
# have to do that yourself. You may also comment out this instruction; the
|
|
# init system will auto-generate one during boot.
|
|
#RUN /etc/my_init.d/00_regen_ssh_host_keys.sh
|
|
|
|
CMD ["/sbin/my_init"]
|
|
|
|
ENV PKGS deluge-console python-pip nano sshpass mediainfo openjdk-8-jre wget shellinabox rsync ffmpeg jq git sqlite3
|
|
ENV TERM xterm
|
|
ENV LANG en_US.UTF-8
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y $PKGS && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install --upgrade pip && \
|
|
pip install --upgrade setuptools &&\
|
|
pip install flexget &&\
|
|
pip install youtube-dl
|
|
|
|
RUN wget -O /tmp/filebot.deb 'https://app.filebot.net/download.php?type=deb&arch=amd64' && \
|
|
dpkg -i /tmp/filebot.deb && \
|
|
rm /tmp/filebot.deb
|
|
|
|
RUN useradd -u 99 -g 100 -m zepheris
|
|
|
|
ADD startup.sh /etc/my_init.d/startup.sh
|
|
RUN chmod +x /etc/my_init.d/startup.sh
|