Add avahi-daemon
This commit is contained in:
parent
9f31e8d6c1
commit
caf690bc83
10
Dockerfile
10
Dockerfile
@ -1,19 +1,15 @@
|
||||
FROM alpine
|
||||
MAINTAINER Vladimir Hodakov <vladimir@hodakov.me>
|
||||
|
||||
RUN apk add --no-cache tini bash samba-common-tools samba-server
|
||||
RUN apk add --no-cache tini bash samba-common-tools samba-server avahi avahi-tools
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint
|
||||
|
||||
RUN ["chmod", "+x", "/usr/local/bin/entrypoint"]
|
||||
|
||||
VOLUME /etc/samba \
|
||||
VOLUME /etc/avahi/services/ \
|
||||
/etc/samba \
|
||||
/var/lib/samba \
|
||||
/data
|
||||
|
||||
EXPOSE 137/udp \
|
||||
138/udp \
|
||||
139/tcp \
|
||||
445/tcp
|
||||
|
||||
CMD ["/sbin/tini", "--", "/usr/local/bin/entrypoint"]
|
||||
|
@ -11,4 +11,5 @@ while IFS='=' read -r name value ; do
|
||||
done < <(env)
|
||||
|
||||
nmbd -D
|
||||
avahi-daemon
|
||||
smbd -FS --no-process-group
|
||||
|
Reference in New Issue
Block a user