Update Dockerfile

This commit is contained in:
piersonjarvis 2018-11-16 10:30:15 -08:00
parent c461bd4267
commit c2913e3b5d

View File

@ -1,11 +1,12 @@
FROM ubuntu FROM ubuntu
EXPOSE 80 EXPOSE 80 139 445
WORKDIR / WORKDIR /
COPY Service-check.sh . COPY Service-check.sh .
RUN apt-get update && apt-get upgrade -y RUN apt-get update && apt-get upgrade -y
RUN apt-get install apt-transport-https wget samba samba-common -y && \ RUN apt-get install apt-transport-https wget samba samba-common -y && \
mkdir /media/storage && \ mkdir /media/storage /data /data/samba /data/webmin && \
chmod 0777 /media/storage chmod 0777 /media/storage /data /data/samba /data/webmin && \
ln -s /data/samba /etc/samba && ln -s /data/webmin /etc/webmin
RUN echo "deb https://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list && \ RUN echo "deb https://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list && \
cd /root && \ cd /root && \