# Base image ARG ARCH=amd64 FROM $ARCH/alpine:3.9 # Prepare multi arch build COPY qemu-* /usr/bin/ # Maintainer MAINTAINER Florian Schwab # upgrade system RUN apk --no-cache --no-progress upgrade # install avahi RUN apk --no-cache --no-progress add avahi avahi-tools # disable d-bus RUN sed -i 's/^enable-dbus=.*/enable-dbus=no/' /etc/avahi/avahi-daemon.conf # cleanup RUN rm -f /usr/bin/qemu-*-static /app/qemu-*-static # volumes VOLUME ["/etc/avahi/services"] # default command CMD ["avahi-daemon"]