ci: ignore DL3018
This commit is contained in:
parent
cde8a59e3b
commit
0ee162d8b2
1 changed files with 2 additions and 1 deletions
|
@ -2,12 +2,13 @@ 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
|
||||||
|
# hadolint ignore=DL3018
|
||||||
RUN set -ex && \
|
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:3
|
FROM alpine:3
|
||||||
|
# hadolint ignore=DL3018
|
||||||
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
|
||||||
|
|
Reference in a new issue