Dockerfile add psutils

This commit is contained in:
David Personette 2016-10-19 16:50:06 -04:00
parent 9c455b55fa
commit ec6a7cf7b3

View File

@ -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 samba \ apt-get install -qqy --no-install-recommends psutils samba \
$(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 && \