1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/samba/Dockerfile
2016-05-01 09:06:20 +08:00

23 lines
337 B
Docker

#
# Dockerfile for samba
#
FROM alpine
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apk add -U samba-common-tools samba-server \
&& rm -rf /var/cache/apk/*
COPY smb.conf /etc/samba/
VOLUME /etc/samba \
/var/lib/samba
EXPOSE 137/udp \
138/udp \
139/tcp \
445/tcp
CMD nmbd -D && smbd -FS