Merge pull request #2 from MorrisJobke/patch-2

Copy samba.sh after the apt-get
This commit is contained in:
dperson 2015-01-24 17:37:51 -05:00
commit 03974a39e0

View File

@ -4,7 +4,6 @@ MAINTAINER David Personette <dperson@dperson.com>
ENV DEBIAN_FRONTEND noninteractive
# Install samba
COPY samba.sh /usr/bin/
RUN apt-get update -qq && \
apt-get install -qqy --no-install-recommends samba && \
apt-get clean && \
@ -20,6 +19,7 @@ RUN apt-get update -qq && \
echo ' force user = smbuser' >> /etc/samba/smb.conf && \
echo ' force group = users' >> /etc/samba/smb.conf && \
echo '' >> /etc/samba/smb.conf
COPY samba.sh /usr/bin/
VOLUME ["/etc/samba"]