Dockerfile derp
This commit is contained in:
parent
280c1ffa6d
commit
26d20a96a3
@ -61,9 +61,9 @@ COPY samba.sh /usr/bin/
|
|||||||
EXPOSE 137/udp 138/udp 139 445
|
EXPOSE 137/udp 138/udp 139 445
|
||||||
|
|
||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
|
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\
|
||||||
"/run/samba"]
|
"/run/samba"]
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
@ -63,9 +63,9 @@ COPY samba.sh /usr/bin/
|
|||||||
EXPOSE 137/udp 138/udp 139 445
|
EXPOSE 137/udp 138/udp 139 445
|
||||||
|
|
||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
|
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\
|
||||||
"/run/samba"]
|
"/run/samba"]
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
@ -63,9 +63,9 @@ COPY samba.sh /usr/bin/
|
|||||||
EXPOSE 137/udp 138/udp 139 445
|
EXPOSE 137/udp 138/udp 139 445
|
||||||
|
|
||||||
HEALTHCHECK --interval=60s --timeout=15s \
|
HEALTHCHECK --interval=60s --timeout=15s \
|
||||||
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
CMD smbclient -L '\\localhost' -U '%' -m SMB3
|
||||||
|
|
||||||
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba/private", "/var/log/samba",\
|
VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\
|
||||||
"/run/samba"]
|
"/run/samba"]
|
||||||
|
|
||||||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"]
|
Loading…
Reference in New Issue
Block a user