Update Dockerfile

This commit is contained in:
piersonjarvis 2018-11-16 22:31:31 -08:00 committed by GitHub
parent 4bd4b9eb0a
commit 7443156ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,8 @@ RUN apt-get update && apt-get upgrade -y
RUN apt-get install apt-transport-https wget samba samba-common -y && \
mkdir /media/storage /data /data/samba /data/webmin && \
chmod 0777 /media/storage /data /data/samba /data/webmin && \
ln -s /data/samba /etc/samba && ln -s /data/webmin /etc/webmin
ln /data/samba /etc/samba && \
ln /data/webmin /etc/webmin
RUN echo "deb https://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list && \
cd /root && \
@ -25,4 +26,4 @@ sed -i 's/ssl=1/ssl=0/g' /etc/webmin/miniserv.conf
RUN echo root:webmin | chpasswd
VOLUME /data
CMD [ "/bin/bash","/Service-check.sh" ]
CMD [ "/bin/bash","/Service-check.sh" ]