Dockerfile more thourghly disable printing

This commit is contained in:
David Personette 2016-01-14 05:54:38 -05:00
parent fc6e9a082f
commit 2c604c51cf

View File

@ -19,6 +19,9 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
echo ' force user = smbuser' >>/etc/samba/smb.conf && \ echo ' force user = smbuser' >>/etc/samba/smb.conf && \
echo ' force group = users' >>/etc/samba/smb.conf && \ echo ' force group = users' >>/etc/samba/smb.conf && \
echo ' load printers = no' >>/etc/samba/smb.conf && \ echo ' load printers = no' >>/etc/samba/smb.conf && \
echo ' printing = bsd' >>/etc/samba/smb.conf && \
echo ' printcap name = /dev/null' >>/etc/samba/smb.conf && \
echo ' disable spoolss = yes' >>/etc/samba/smb.conf && \
echo '' >>/etc/samba/smb.conf echo '' >>/etc/samba/smb.conf
COPY samba.sh /usr/bin/ COPY samba.sh /usr/bin/