parent
03ced712ca
commit
4ec382d583
@ -4,7 +4,7 @@ MAINTAINER David Personette <dperson@gmail.com>
|
|||||||
# Install samba
|
# Install samba
|
||||||
RUN export DEBIAN_FRONTEND='noninteractive' && \
|
RUN export DEBIAN_FRONTEND='noninteractive' && \
|
||||||
apt-get update -qq && \
|
apt-get update -qq && \
|
||||||
apt-get install -qqy --no-install-recommends procps samba \
|
apt-get install -qqy --no-install-recommends procps samba samba-vfs-modules\
|
||||||
$(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
|
$(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
|
||||||
useradd -c 'Samba User' -d /tmp -M -r smbuser && \
|
useradd -c 'Samba User' -d /tmp -M -r smbuser && \
|
||||||
sed -i 's|^\( log file = \).*|\1/dev/stdout|' /etc/samba/smb.conf && \
|
sed -i 's|^\( log file = \).*|\1/dev/stdout|' /etc/samba/smb.conf && \
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER David Personette <dperson@gmail.com>
|
|||||||
# Install samba
|
# Install samba
|
||||||
RUN export DEBIAN_FRONTEND='noninteractive' && \
|
RUN export DEBIAN_FRONTEND='noninteractive' && \
|
||||||
apt-get update -qq && \
|
apt-get update -qq && \
|
||||||
apt-get install -qqy --no-install-recommends procps samba \
|
apt-get install -qqy --no-install-recommends procps samba samba-vfs-modules\
|
||||||
$(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
|
$(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
|
||||||
useradd -c 'Samba User' -d /tmp -M -r smbuser && \
|
useradd -c 'Samba User' -d /tmp -M -r smbuser && \
|
||||||
sed -i 's|^\( log file = \).*|\1/dev/stdout|' /etc/samba/smb.conf && \
|
sed -i 's|^\( log file = \).*|\1/dev/stdout|' /etc/samba/smb.conf && \
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER David Personette <dperson@gmail.com>
|
|||||||
# Install samba
|
# Install samba
|
||||||
RUN export DEBIAN_FRONTEND='noninteractive' && \
|
RUN export DEBIAN_FRONTEND='noninteractive' && \
|
||||||
apt-get update -qq && \
|
apt-get update -qq && \
|
||||||
apt-get install -qqy --no-install-recommends procps samba \
|
apt-get install -qqy --no-install-recommends procps samba samba-vfs-modules\
|
||||||
$(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
|
$(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
|
||||||
useradd -c 'Samba User' -d /tmp -M -r smbuser && \
|
useradd -c 'Samba User' -d /tmp -M -r smbuser && \
|
||||||
sed -i 's|^\( log file = \).*|\1/dev/stdout|' /etc/samba/smb.conf && \
|
sed -i 's|^\( log file = \).*|\1/dev/stdout|' /etc/samba/smb.conf && \
|
||||||
|
Loading…
Reference in New Issue
Block a user