nadeko/DockerFile

28 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

FROM phusion/baseimage:latest
2016-05-05 08:16:33 +00:00
2017-01-09 19:03:06 +00:00
WORKDIR /opt/
2016-05-05 08:16:33 +00:00
#Install Dotnet
RUN sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list' \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893 \
&& apt-get update && apt-get install -y dotnet-dev-1.0.4
#Add ffmpeg3 ppa
RUN add-apt-repository ppa:jonathonf/ffmpeg-3
#Install required software
RUN apt-get update && apt-get install -y git libopus0 opus-tools libopus-dev libsodium-dev ffmpeg rsync python tzdata
2016-05-05 08:16:33 +00:00
#Add youtube-dl
RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && chmod a+rx /usr/local/bin/youtube-dl
2016-05-05 08:16:33 +00:00
#Download and install stable version of Nadeko
2017-09-21 02:28:45 +00:00
RUN curl -O https://raw.githubusercontent.com/mattburchett/nadeko/1.4/nadeko_installer_1_4.sh && chmod 755 nadeko_installer_1_4.sh && ./nadeko_installer_1_4.sh \
&& curl -O https://raw.githubusercontent.com/mattburchett/nadeko/1.4/nadeko_autorestart.sh && chmod 755 nadeko_autorestart.sh
2017-06-07 13:06:44 +00:00
VOLUME ["/root/nadeko"]
2016-05-05 08:16:33 +00:00
CMD ["sh","/opt/nadeko_autorestart.sh"]