diff --git a/Dockerfile b/Dockerfile index d522b95..4a68716 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,7 @@ FROM alpine RUN set -ex && \ apk add --no-cache vlan libcap bash COPY --from=builder /bin/mdns-repeater /bin/mdns-repeater -RUN chmod +x /bin/mdns-repeater -RUN setcap cap_net_raw=+ep /bin/mdns-repeater - COPY run.sh /app/ -RUN chmod +x /app/run.sh +RUN chmod +x /bin/mdns-repeater && setcap cap_net_raw=+ep /bin/mdns-repeater && chmod +x /app/run.sh ENTRYPOINT ["/app/run.sh", "${VLANS}"]