Dockerfile upgrade packages

This commit is contained in:
David Personette 2017-10-24 08:26:31 -04:00
parent 7411425d54
commit 3bcbaea839

View File

@ -2,7 +2,8 @@ FROM alpine
MAINTAINER David Personette <dperson@gmail.com>
# Install samba
RUN apk --no-cache --no-progress add bash samba shadow && \
RUN apk --no-cache --no-progress upgrade && \
apk --no-cache --no-progress add bash samba shadow && \
adduser -D -G users -H -g 'Samba User' -h /tmp smbuser && \
file="/etc/samba/smb.conf" && \
sed -i 's|^;* *\(log file = \).*| \1/dev/stdout|' $file && \