Dockerfile upgrade packages
This commit is contained in:
parent
7411425d54
commit
3bcbaea839
@ -2,7 +2,8 @@ FROM alpine
|
|||||||
MAINTAINER David Personette <dperson@gmail.com>
|
MAINTAINER David Personette <dperson@gmail.com>
|
||||||
|
|
||||||
# Install samba
|
# 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 && \
|
adduser -D -G users -H -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 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user