FROM alpine:3.22.0@sha256:8a1f59ffb675680d47db6337b49d22281a139e9d709335b492be023728e11715 RUN apk add --no-cache build-base bash docker-cli git \ && git clone -b add-ipv6-support https://github.com/Alphix/mdns-repeater.git \ && cd mdns-repeater \ && make \ && mv mdns-repeater /bin \ && chmod a+x /bin/mdns-repeater \ && apk del build-base git \ && rm -rf /var/cache/apk/* /tmp/* COPY entrypoint.sh /entrypoint.sh RUN chmod a+x entrypoint.sh ENV USE_MDNS_REPEATER=1 \ OPTIONS="" \ INTERFACES="eth0" \ DOCKER_NETWORKS="net1 net2" ENTRYPOINT [ "/entrypoint.sh" ]