nadeko/DockerFile
2017-07-05 09:35:59 +01:00

23 lines
833 B
Plaintext

FROM microsoft/dotnet:1.1-sdk-projectjson
MAINTAINER Poag <poag@gany.net>
WORKDIR /opt/
#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
#Download and install stable version of Nadeko
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 \
&& chmod 755 nadeko.sh
VOLUME ["/opt"]
CMD ["/opt/nadeko.sh"]