mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-16 11:37:32 +02:00
20 lines
317 B
Docker
20 lines
317 B
Docker
#
|
|
# Dockerfile for samba
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreply@datageek.info>
|
|
|
|
RUN set -xe \
|
|
&& apk add -U samba-common-tools samba-server \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
COPY smb.conf /etc/samba/
|
|
|
|
EXPOSE 137/udp \
|
|
138/udp \
|
|
139/tcp \
|
|
445/tcp
|
|
|
|
CMD ["smbd", "--foreground", "--log-stdout"]
|