]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
docker: fix build on Alpine by requiring bsd-compat-headers for sys/queue.h
authorVincent Bernat <vincent@bernat.ch>
Sat, 12 Mar 2022 14:12:42 +0000 (15:12 +0100)
committerVincent Bernat <vincent@bernat.ch>
Sat, 12 Mar 2022 14:12:42 +0000 (15:12 +0100)
As it is self-contained, we could surely just include it.

Dockerfile

index 8088a726a8696895d5894dc7064754237e08d1eb..9ce2c377a8c453ce40ad6531d6dc647bec3c9199 100644 (file)
@@ -1,7 +1,8 @@
 FROM alpine:latest AS build
 RUN apk add autoconf automake libtool \
        libevent-dev libxml2-dev jansson-dev \
-        readline-dev libcap-dev alpine-sdk
+        readline-dev libcap-dev bsd-compat-headers \
+        alpine-sdk
 WORKDIR /build
 COPY . .
 RUN ./autogen.sh