mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +02: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
|