1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/samba/Dockerfile

21 lines
301 B
Docker
Raw Normal View History

2015-07-17 16:53:21 +02:00
#
# Dockerfile for samba
#
FROM alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2015-07-17 16:53:21 +02:00
2017-07-03 12:46:37 +02:00
RUN apk add --no-cache samba-common-tools samba-server
2015-07-17 16:53:21 +02:00
2017-05-01 08:14:27 +02:00
COPY ./data/smb.conf /etc/samba/
2015-07-17 16:53:21 +02:00
2016-04-12 12:28:27 +02:00
VOLUME /etc/samba \
/var/lib/samba
2016-03-06 11:37:18 +02:00
EXPOSE 137/udp \
138/udp \
139/tcp \
445/tcp
2015-07-17 16:53:21 +02:00
2016-04-07 03:46:55 +02:00
CMD nmbd -D && smbd -FS