ci: DL3059
This commit is contained in:
parent
7e303af240
commit
25e7e11b14
1 changed files with 1 additions and 4 deletions
|
@ -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}"]
|
||||||
|
|
Reference in a new issue