Dockerfile - fix #109 derp
This commit is contained in:
parent
6e92342f07
commit
e059b4f0fb
@ -4,7 +4,7 @@ MAINTAINER David Personette <dperson@gmail.com>
|
|||||||
# Install samba
|
# Install samba
|
||||||
RUN apk --no-cache --no-progress upgrade && \
|
RUN apk --no-cache --no-progress upgrade && \
|
||||||
apk --no-cache --no-progress add bash samba shadow && \
|
apk --no-cache --no-progress add bash samba shadow && \
|
||||||
adduser -D -G users -H -g 'Samba User' -h /tmp smbuser && \
|
adduser -D -G users -H -S -g 'Samba User' -h /tmp smbuser && \
|
||||||
file="/etc/samba/smb.conf" && \
|
file="/etc/samba/smb.conf" && \
|
||||||
sed -i 's|^;* *\(log file = \).*| \1/dev/stdout|' $file && \
|
sed -i 's|^;* *\(log file = \).*| \1/dev/stdout|' $file && \
|
||||||
sed -i 's|^;* *\(load printers = \).*| \1no|' $file && \
|
sed -i 's|^;* *\(load printers = \).*| \1no|' $file && \
|
||||||
|
Loading…
Reference in New Issue
Block a user