-
Notifications
You must be signed in to change notification settings - Fork 321
Closed
Description
Trying to make an alpine docker container, the build is failing with:
-- Found AVAHI: TRUE
-- Configuring done
CMake Error at external/misc/CMakeLists.txt:35 (add_library):
No SOURCES given to target: misc
CMake Generate step failed. Build files cannot be regenerated correctly.
Here's a docker file to reproduce:
FROM alpine:latest as base
RUN mkdir -p /etc/direwolf
RUN apk add --no-cache --update rtl-sdr
RUN apk add --no-cache --update eudev
RUN apk add --no-cache --update netcat-openbsd
RUN apk add --no-cache --update alsa-lib
RUN apk add --no-cache --update libusb
RUN apk add --no-cache --update gpsd
RUN apk add --no-cache --update avahi
#RUN apk add --no-cache --update hamlib
FROM base as builder
RUN apk add --no-cache --update alpine-sdk
RUN apk add --no-cache --update cmake
RUN apk add --no-cache --update eudev-dev
RUN apk add --no-cache --update alsa-lib-dev
RUN apk add --no-cache --update libusb-dev
RUN apk add --no-cache --update gpsd-dev
RUN apk add --no-cache --update avahi-dev
#RUN apk add --no-cache --update hamlib-dev
RUN git clone "https://github.com/wb2osz/direwolf.git" /tmp/direwolf \
&& cd /tmp/direwolf \
&& git checkout dev \
&& mkdir build \
&& cd build \
&& cmake ..\
&& make -j8\
&& make DESTDIR=/target install \
&& find /target/usr/local/bin/ -type f -exec strip -p --strip-debug {} \;
Metadata
Metadata
Assignees
Labels
No labels