2017-07-04 08:06:09 +00:00
|
|
|
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
|
|
|
|
2017-07-04 08:06:09 +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 \
|
2017-01-09 19:03:06 +00:00
|
|
|
&& apt-get update \
|
2017-07-04 08:06:09 +00:00
|
|
|
&& apt-get install -y dotnet-dev-1.0.4
|
|
|
|
|
|
|
|
#Install required software
|
|
|
|
RUN apt-get update \
|
2017-01-09 19:03:06 +00:00
|
|
|
&& apt-get update \
|
2017-06-21 08:46:06 +00:00
|
|
|
&& apt-get install -y git libopus0 opus-tools libopus-dev libsodium-dev ffmpeg rsync
|
2016-05-05 08:16:33 +00:00
|
|
|
|
2017-01-09 19:03:06 +00:00
|
|
|
#Download and install stable version of Nadeko
|
2017-06-28 09:14:41 +00:00
|
|
|
RUN wget https://raw.githubusercontent.com/Poag/nadeko/1.4/nadeko_installer_1_4.sh | sh \
|
|
|
|
&& wget 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"]
|