Added Docker capabilites
This commit is contained in:
20
docker/stable/Dockerfile
Normal file
20
docker/stable/Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
FROM microsoft/dotnet:sdk
|
||||
MAINTAINER Reiuiji <reiuiji@gmail.com>
|
||||
|
||||
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 curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer.sh | sh \
|
||||
&& curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_autorestart.sh > nadeko.sh \
|
||||
&& chmod 755 nadeko.sh
|
||||
|
||||
VOLUME ["/opt"]
|
||||
|
||||
CMD ["/opt/nadeko.sh"]
|
Reference in New Issue
Block a user