This repository has been archived on 2020-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
2020-01-22 12:18:53 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache --update samba shadow
|
|
|
|
RUN adduser -S -D -H -h /tmp -s /sbin/nologin -g 'Samba Owner' smbowner
|
|
|
|
ADD samba.conf /etc/samba/smb.conf
|
|
|
|
EXPOSE 445/tcp 139/tcp
|
2020-02-02 16:06:36 +00:00
|
|
|
ENTRYPOINT ["smbd", "--foreground", "--no-process-group", "-S", "-s", "/etc/samba/smb.conf"]
|
2020-01-23 16:21:58 +00:00
|
|
|
VOLUME ["/var/log/samba"]
|