mirror of
https://github.com/vimagick/dockerfiles
synced 2024-07-03 00:33:55 +00:00
23 lines
353 B
Docker
23 lines
353 B
Docker
![]() |
#
|
||
|
# Dockerfile for samba-arm
|
||
|
#
|
||
|
|
||
|
FROM easypi/alpine-arm
|
||
|
MAINTAINER EasyPi Software Foundation
|
||
|
|
||
|
RUN set -xe \
|
||
|
&& apk add -U samba-common-tools samba-server \
|
||
|
&& rm -rf /var/cache/apk/*
|
||
|
|
||
|
COPY smb.conf /etc/samba/
|
||
|
|
||
|
VOLUME /etc/samba \
|
||
|
/var/lib/samba
|
||
|
|
||
|
EXPOSE 137/udp \
|
||
|
138/udp \
|
||
|
139/tcp \
|
||
|
445/tcp
|
||
|
|
||
|
CMD nmbd -D && smbd -FS
|