Renovate Bot
1719fe7841
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | alpine | final | digest | `51b6726` -> `c5b1261` | | alpine | stage | digest | `51b6726` -> `c5b1261` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjE1Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=--> Reviewed-on: #7 Co-authored-by: Renovate Bot <renovate@mgrote.net> Co-committed-by: Renovate Bot <renovate@mgrote.net>
18 lines
771 B
Docker
18 lines
771 B
Docker
FROM alpine:3@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b AS builder
|
|
ARG MDNS_REPEATER_VERSION=local
|
|
WORKDIR /
|
|
COPY mdns-repeater.c mdns-repeater.c
|
|
# hadolint ignore=DL3018
|
|
RUN set -ex && \
|
|
apk add --no-cache build-base && \
|
|
gcc -o /bin/mdns-repeater mdns-repeater.c -DMDNS_REPEATER_VERSION=\"${MDNS_REPEATER_VERSION}\"
|
|
|
|
FROM alpine:3@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b
|
|
# hadolint ignore=DL3018
|
|
RUN set -ex && \
|
|
apk add --no-cache vlan libcap bash
|
|
COPY --from=builder /bin/mdns-repeater /bin/mdns-repeater
|
|
COPY run.sh /app/
|
|
RUN chmod +x /bin/mdns-repeater && setcap cap_net_raw=+ep /bin/mdns-repeater && chmod +x /app/run.sh
|
|
# hadolint ignore=DL3025
|
|
ENTRYPOINT /bin/bash /app/run.sh "${VLANS}"
|