Dockerfile enable the recycle bin by default #56

This commit is contained in:
David Personette 2017-05-13 23:48:27 -04:00
parent 2e90a3e6aa
commit 03ced712ca
3 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,9 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
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 ' socket options = TCP_NODELAY' >>/etc/samba/smb.conf && \
echo ' strict locking = no' >>/etc/samba/smb.conf && \ echo ' strict locking = no' >>/etc/samba/smb.conf && \
echo ' vfs objects = recycle' >>/etc/samba/smb.conf && \
echo ' recycle:keeptree = yes' >>/etc/samba/smb.conf && \
echo ' recycle:versions = yes' >>/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/*

View File

@ -24,6 +24,9 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
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 ' socket options = TCP_NODELAY' >>/etc/samba/smb.conf && \
echo ' strict locking = no' >>/etc/samba/smb.conf && \ echo ' strict locking = no' >>/etc/samba/smb.conf && \
echo ' vfs objects = recycle' >>/etc/samba/smb.conf && \
echo ' recycle:keeptree = yes' >>/etc/samba/smb.conf && \
echo ' recycle:versions = yes' >>/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/*

View File

@ -24,6 +24,9 @@ RUN export DEBIAN_FRONTEND='noninteractive' && \
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 ' socket options = TCP_NODELAY' >>/etc/samba/smb.conf && \
echo ' strict locking = no' >>/etc/samba/smb.conf && \ echo ' strict locking = no' >>/etc/samba/smb.conf && \
echo ' vfs objects = recycle' >>/etc/samba/smb.conf && \
echo ' recycle:keeptree = yes' >>/etc/samba/smb.conf && \
echo ' recycle:versions = yes' >>/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/*