ci: DL3006

This commit is contained in:
Michael Grote 2023-06-10 10:57:33 +02:00
parent 59ab15133f
commit cde8a59e3b

View file

@ -1,4 +1,4 @@
FROM alpine AS builder FROM alpine:3 AS builder
ARG MDNS_REPEATER_VERSION=local ARG MDNS_REPEATER_VERSION=local
WORKDIR / WORKDIR /
COPY mdns-repeater.c mdns-repeater.c COPY mdns-repeater.c mdns-repeater.c
@ -6,7 +6,7 @@ RUN set -ex && \
apk add --no-cache build-base && \ apk add --no-cache build-base && \
gcc -o /bin/mdns-repeater mdns-repeater.c -DMDNS_REPEATER_VERSION=\"${MDNS_REPEATER_VERSION}\" gcc -o /bin/mdns-repeater mdns-repeater.c -DMDNS_REPEATER_VERSION=\"${MDNS_REPEATER_VERSION}\"
FROM alpine FROM alpine:3
RUN set -ex && \ RUN set -ex && \
apk add --no-cache vlan libcap bash apk add --no-cache vlan libcap bash