1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:34 +02:00
dockerfiles/samba/Dockerfile

23 lines
337 B
Docker
Raw Normal View History

2015-07-17 16:53:21 +02:00
#
# Dockerfile for samba
#
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
2015-07-17 16:53:21 +02:00
2016-03-06 11:37:18 +02:00
RUN set -xe \
&& apk add -U samba-common-tools samba-server \
2015-07-17 16:53:21 +02:00
&& rm -rf /var/cache/apk/*
COPY smb.conf /etc/samba/
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