diff options
| author | Michael Grote | 2023-06-10 10:51:28 +0200 |
|---|---|---|
| committer | Michael Grote | 2023-06-10 10:51:28 +0200 |
| commit | 1d99f964f47a55a9e4dc1eed56551d82cdbfafff (patch) | |
| tree | 67706f7959f79f42158c29353cb49c2b0f47f4b6 | |
| parent | bbd51013f1ec18ecc9baf38f24873d4eee6b5e9f (diff) | |
ci: DL3019
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,13 +2,13 @@ FROM alpine AS builder ARG MDNS_REPEATER_VERSION=local ADD mdns-repeater.c mdns-repeater.c RUN set -ex && \ - apk add build-base && \ + apk add --no-cache build-base && \ gcc -o /bin/mdns-repeater mdns-repeater.c -DMDNS_REPEATER_VERSION=\"${MDNS_REPEATER_VERSION}\" FROM alpine RUN set -ex && \ - apk add vlan libcap bash + 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 |