21 lines
438 B
Docker
21 lines
438 B
Docker
FROM alpine:latest
|
|
RUN apk --no-cache add \
|
|
avahi \
|
|
avahi-tools \
|
|
dbus \
|
|
envsubst \
|
|
s6-overlay \
|
|
socat
|
|
|
|
COPY ./services.d/ /etc/services.d/
|
|
COPY wait-for-dbus /usr/local/bin/
|
|
COPY avahi-daemon.conf.template /etc/avahi/
|
|
COPY entrypoint-dlitz.sh /
|
|
|
|
ENTRYPOINT ["/entrypoint-dlitz.sh"]
|
|
ENV AVAHI_INTERFACES=dummy0
|
|
|
|
#CMD ["/usr/sbin/avahi-daemon"]
|
|
CMD ["/bin/sh", "-c", "wait-for-dbus ; exec /usr/sbin/avahi-daemon"]
|
|
|