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

20 lines
317 B
Docker
Raw Normal View History

2015-07-17 16:53:21 +02:00
#
# Dockerfile for samba
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
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-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-03-06 11:37:18 +02:00
CMD ["smbd", "--foreground", "--log-stdout"]