Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ LABEL mantainer="Eloy Lopez <elswork@gmail.com>" \

RUN apk update && apk upgrade && apk add --no-cache bash samba-common-tools samba tzdata && rm -rf /var/cache/apk/*

RUN sed -i '/\[homes\]/,/writable/ s/^/;/' /etc/samba/smb.conf

COPY entrypoint.sh /entrypoint.sh
RUN chmod u+x /entrypoint.sh

Expand All @@ -25,4 +27,4 @@ EXPOSE 137/udp 138/udp 139 445
HEALTHCHECK --interval=60s --timeout=15s CMD smbclient -L \\localhost -U % -m SMB3

ENTRYPOINT ["/entrypoint.sh"]
CMD ["-h"]
CMD ["-h"]