mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
add samba
This commit is contained in:
17
samba/Dockerfile
Normal file
17
samba/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# Dockerfile for samba
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@datageek.info>
|
||||
|
||||
RUN apk add -U samba-common-tools samba-server \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY smb.conf /etc/samba/
|
||||
|
||||
VOLUME /etc/samba
|
||||
|
||||
EXPOSE 137/udp 138/udp 139/tcp 445/tcp
|
||||
|
||||
CMD smbd --foreground --log-stdout
|
||||
Reference in New Issue
Block a user