nadeko/DockerFile

23 lines
833 B
Plaintext
Raw Permalink Normal View History

2017-02-08 20:57:29 +00:00
FROM microsoft/dotnet:1.1-sdk-projectjson
2017-01-09 19:03:06 +00:00
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
2017-01-09 19:03:06 +00:00
#Install required software
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 \
&& apt-get update \
&& apt-get install -y git libopus0 opus-tools libopus-dev libsodium-dev ffmpeg
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:35:59 +00:00
RUN wget https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer_latest.sh \
&& chmod 755 nadeko_installer_latest.sh \
&& /opt/nadeko_installer_latest.sh \
&& wget -O nadeko.sh https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_autorestart.sh \
2017-01-09 19:03:06 +00:00
&& chmod 755 nadeko.sh
2016-05-05 08:16:33 +00:00
2017-01-09 19:03:06 +00:00
VOLUME ["/opt"]
2016-05-05 08:16:33 +00:00
2017-01-09 19:03:06 +00:00
CMD ["/opt/nadeko.sh"]