Dockerfile add volumes for RO container

This commit is contained in:
David Personette 2018-11-26 06:02:08 -05:00
parent 7c0c35dd38
commit 280c1ffa6d
3 changed files with 6 additions and 3 deletions

View File

@ -63,6 +63,7 @@ EXPOSE 137/udp 138/udp 139 445
HEALTHCHECK --interval=60s --timeout=15s \
CMD smbclient -L '\\localhost' -U '%' -m SMB3
VOLUME ["/etc/samba"]
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
"/run/samba"]
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]

View File

@ -65,6 +65,7 @@ EXPOSE 137/udp 138/udp 139 445
HEALTHCHECK --interval=60s --timeout=15s \
CMD smbclient -L '\\localhost' -U '%' -m SMB3
VOLUME ["/etc/samba"]
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
"/run/samba"]
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]

View File

@ -65,6 +65,7 @@ EXPOSE 137/udp 138/udp 139 445
HEALTHCHECK --interval=60s --timeout=15s \
CMD smbclient -L '\\localhost' -U '%' -m SMB3
VOLUME ["/etc/samba"]
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
"/run/samba"]
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]