Merge pull request #2 from MorrisJobke/patch-2
Copy samba.sh after the apt-get
This commit is contained in:
commit
03974a39e0
@ -4,7 +4,6 @@ MAINTAINER David Personette <dperson@dperson.com>
|
|||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
# Install samba
|
# Install samba
|
||||||
COPY samba.sh /usr/bin/
|
|
||||||
RUN apt-get update -qq && \
|
RUN apt-get update -qq && \
|
||||||
apt-get install -qqy --no-install-recommends samba && \
|
apt-get install -qqy --no-install-recommends samba && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
@ -20,6 +19,7 @@ RUN apt-get update -qq && \
|
|||||||
echo ' force user = smbuser' >> /etc/samba/smb.conf && \
|
echo ' force user = smbuser' >> /etc/samba/smb.conf && \
|
||||||
echo ' force group = users' >> /etc/samba/smb.conf && \
|
echo ' force group = users' >> /etc/samba/smb.conf && \
|
||||||
echo '' >> /etc/samba/smb.conf
|
echo '' >> /etc/samba/smb.conf
|
||||||
|
COPY samba.sh /usr/bin/
|
||||||
|
|
||||||
VOLUME ["/etc/samba"]
|
VOLUME ["/etc/samba"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user