Update Dockerfile
This commit is contained in:
parent
4bd4b9eb0a
commit
7443156ca2
@ -6,7 +6,8 @@ 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 /data /data/samba /data/webmin && \
|
mkdir /media/storage /data /data/samba /data/webmin && \
|
||||||
chmod 0777 /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 && \
|
RUN echo "deb https://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list && \
|
||||||
cd /root && \
|
cd /root && \
|
||||||
@ -25,4 +26,4 @@ sed -i 's/ssl=1/ssl=0/g' /etc/webmin/miniserv.conf
|
|||||||
|
|
||||||
RUN echo root:webmin | chpasswd
|
RUN echo root:webmin | chpasswd
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
CMD [ "/bin/bash","/Service-check.sh" ]
|
CMD [ "/bin/bash","/Service-check.sh" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user