Phusion migration (#3)

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile

* Update DockerFile
This commit is contained in:
Poag 2017-07-11 11:30:57 +01:00 committed by GitHub
parent 120ada163e
commit ce0a5d1d0d

View File

@ -1,20 +1,27 @@
FROM microsoft/dotnet:1.1.2-sdk
MAINTAINER Poag <poag@gany.net>
FROM phusion/baseimage:latest
WORKDIR /opt/
#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 \
&& apt-get update && apt-get install -y dotnet-dev-1.0.4
#Add ffmpeg3 ppa
RUN add-apt-repository ppa:jonathonf/ffmpeg-3
#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 youtube-dl
RUN apt-get update && apt-get install -y git libopus0 opus-tools libopus-dev libsodium-dev ffmpeg rsync python
#Add youtube-dl
RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && chmod a+rx /usr/local/bin/youtube-dl
#Download and install stable version of Nadeko
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 \
&& chmod 755 nadeko.sh
RUN curl -O https://raw.githubusercontent.com/Poag/nadeko/1.4/nadeko_installer_1_4.sh && chmod 755 nadeko_installer_1_4.sh && ./nadeko_installer_1_4.sh \
&& curl -O https://raw.githubusercontent.com/Poag/nadeko/1.4/nadeko_autorestart.sh && chmod 755 nadeko_autorestart.sh
VOLUME ["/root/nadeko"]
CMD ["/opt/nadeko.sh"]
CMD ["sh","/opt/nadeko_autorestart.sh"]