Dockerfile set TCP_NODELAY to try and improve performance for non-Linux OSes with broken ack behaviour

This commit is contained in:
David Personette 2016-08-29 14:45:20 -04:00
parent 070090fc97
commit 11eb428a88

View File

@ -20,6 +20,7 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
echo ' printing = bsd' >>/etc/samba/smb.conf && \ echo ' printing = bsd' >>/etc/samba/smb.conf && \
echo ' printcap name = /dev/null' >>/etc/samba/smb.conf && \ echo ' printcap name = /dev/null' >>/etc/samba/smb.conf && \
echo ' disable spoolss = yes' >>/etc/samba/smb.conf && \ echo ' disable spoolss = yes' >>/etc/samba/smb.conf && \
echo ' socket options = TCP_NODELAY' >>/etc/samba/smb.conf && \
echo '' >>/etc/samba/smb.conf && \ echo '' >>/etc/samba/smb.conf && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* rm -rf /var/lib/apt/lists/* /tmp/*