nadeko/DockerFile

21 lines
752 B
Plaintext
Raw Normal View History

2017-07-05 13:34:09 +00:00
FROM microsoft/dotnet:1.1.2-sdk
MAINTAINER Poag <poag@gany.net>
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 required software
2017-07-05 13:34:09 +00:00
RUN echo "deb http://www.deb-multimedia.org jessie main non-free" | tee /etc/apt/sources.list.d/debian-backports.list \
&& apt-get update \
&& apt-get install -y --force-yes deb-multimedia-keyring \
2017-01-09 19:03:06 +00:00
&& apt-get update \
2017-07-10 10:29:20 +00:00
&& apt-get install -y git libopus0 opus-tools libopus-dev libsodium-dev ffmpeg youtube-dl
2016-05-05 08:16:33 +00:00
2017-01-09 19:03:06 +00:00
#Download and install stable version of Nadeko
2017-07-05 08:24:49 +00:00
RUN curl -L https://raw.githubusercontent.com/Poag/nadeko/1.4/nadeko_installer_1_4.sh | sh \
&& curl -L https://raw.githubusercontent.com/Poag/nadeko/1.4/nadeko_autorestart.sh > nadeko.sh \
2017-01-09 19:03:06 +00:00
&& chmod 755 nadeko.sh
2016-05-05 08:16:33 +00:00
2017-06-07 13:06:44 +00:00
VOLUME ["/root/nadeko"]
2016-05-05 08:16:33 +00:00
2017-01-09 19:03:06 +00:00
CMD ["/opt/nadeko.sh"]