2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

add samba

This commit is contained in:
kev
2015-07-17 22:53:21 +08:00
parent 56e2438a31
commit 3992c218a7
5 changed files with 61 additions and 0 deletions

17
samba/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
#
# Dockerfile for samba
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U samba-common-tools samba-server \
&& rm -rf /var/cache/apk/*
COPY smb.conf /etc/samba/
VOLUME /etc/samba
EXPOSE 137/udp 138/udp 139/tcp 445/tcp
CMD smbd --foreground --log-stdout