Guest User

Untitled

a guest
Oct 9th, 2026
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. # ./avahi/Dockerfile
  2.  
  3. FROM debian:bookworm-slim
  4.  
  5. RUN apt-get update && \
  6. apt-get install -y --no-install-recommends avahi-daemon avahi-utils dbus && \
  7. apt-get clean && \
  8. rm -rf /var/lib/apt/lists/*
  9.  
  10. COPY avahi-daemon.conf /etc/avahi/avahi-daemon.conf
  11.  
  12. RUN mkdir -p /var/run/dbus
  13.  
  14. ENTRYPOINT ["/bin/sh", "-c", "dbus-daemon --system --fork && exec avahi-daemon --no-drop-root -f /etc/avahi/avahi-daemon.conf"]
  15.  
Advertisement
Add Comment
Please, Sign In to add comment