Update to 1.0
This commit is contained in:
parent
f4c6afd606
commit
9b7b6cca01
35
DockerFile
35
DockerFile
@ -1,25 +1,20 @@
|
|||||||
FROM linuxserver/baseimage
|
FROM microsoft/dotnet:sdk
|
||||||
MAINTAINER Uirel <uirel@gany.net>
|
MAINTAINER Poag <poag@gany.net>
|
||||||
|
|
||||||
# Setup Mono Repo
|
WORKDIR /opt/
|
||||||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF &&\
|
|
||||||
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
|
|
||||||
|
|
||||||
|
#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
|
||||||
|
|
||||||
# Install Pre Requisites
|
#Download and install stable version of Nadeko
|
||||||
RUN add-apt-repository ppa:mc3man/trusty-media -y
|
RUN curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_installer_latest.sh | sh \
|
||||||
RUN apt-get -q update && \
|
&& curl -L https://github.com/Kwoth/NadekoBot-BashScript/raw/master/nadeko_autorestart.sh > nadeko.sh \
|
||||||
apt-get install -qy wget libopus0 opus-tools libopus-dev mono-devel unzip ffmpeg rsync nano
|
&& chmod 755 nadeko.sh
|
||||||
|
|
||||||
#Mappings and ports
|
VOLUME ["/opt"]
|
||||||
VOLUME ["/config"]
|
|
||||||
|
|
||||||
#Clean Up
|
CMD ["/opt/nadeko.sh"]
|
||||||
RUN apt-get autoclean -y; apt-get autoremove -y &&\
|
|
||||||
apt-get clean && \
|
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
||||||
|
|
||||||
#Adding Custom files
|
|
||||||
ADD init/ /etc/my_init.d/
|
|
||||||
ADD services/ /etc/service/
|
|
||||||
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
|
|
||||||
|
Loading…
Reference in New Issue
Block a user