Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ./avahi/Dockerfile
- FROM debian:bookworm-slim
- RUN apt-get update && \
- apt-get install -y --no-install-recommends avahi-daemon avahi-utils dbus && \
- apt-get clean && \
- rm -rf /var/lib/apt/lists/*
- COPY avahi-daemon.conf /etc/avahi/avahi-daemon.conf
- RUN mkdir -p /var/run/dbus
- ENTRYPOINT ["/bin/sh", "-c", "dbus-daemon --system --fork && exec avahi-daemon --no-drop-root -f /etc/avahi/avahi-daemon.conf"]
Advertisement
Add Comment
Please, Sign In to add comment