Dockerfile install any security updates

This commit is contained in:
David Personette 2015-03-29 19:09:18 -04:00
parent 4b7be9854e
commit 32cd6aadd5

View File

@ -4,7 +4,8 @@ MAINTAINER David Personette <dperson@dperson.com>
# Install samba
RUN export DEBIAN_FRONTEND='noninteractive' && \
apt-get update -qq && \
apt-get install -qqy --no-install-recommends samba && \
apt-get install -qqy --no-install-recommends samba \
$(apt-get -s dist-upgrade|awk '/^Inst.*ecurity/ {print $2}') &&\
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* && \
useradd smbuser -M && \