ci: DL3059

This commit is contained in:
Michael Grote 2023-06-10 10:53:31 +02:00
parent 7e303af240
commit 25e7e11b14

View file

@ -10,10 +10,7 @@ FROM alpine
RUN set -ex && \ RUN set -ex && \
apk add --no-cache vlan libcap bash apk add --no-cache vlan libcap bash
COPY --from=builder /bin/mdns-repeater /bin/mdns-repeater 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/ 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}"] ENTRYPOINT ["/app/run.sh", "${VLANS}"]