From 4634431c5966bceccaae46942665781e05707fcd Mon Sep 17 00:00:00 2001 From: testuser7 Date: Tue, 13 Feb 2024 23:47:09 +0100 Subject: [PATCH] Do not install librtlsdr-dev and rtl-sdr packages --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 2d0549c..bb1cfb7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,5 @@ FROM alpine AS build -RUN apk add --no-cache alpine-sdk gcc linux-headers librtlsdr-dev libxml2-dev cmake libusb-dev bash samurai +RUN apk add --no-cache alpine-sdk gcc linux-headers libxml2-dev cmake libusb-dev bash samurai RUN git clone https://github.com/steve-m/librtlsdr.git && \ git clone https://github.com/wmbusmeters/wmbusmeters.git && \ git clone https://github.com/weetmuts/rtl-wmbus.git && \ @@ -25,7 +25,7 @@ WORKDIR /rtl_reset RUN make FROM alpine as scratch -RUN apk add --no-cache mosquitto-clients libstdc++ curl libusb rtl-sdr libxml2 netcat-openbsd +RUN apk add --no-cache mosquitto-clients libstdc++ curl libusb libxml2 netcat-openbsd WORKDIR /wmbusmeters COPY --from=build /librtlsdr/build/src/librtlsdr.so.* /usr/lib/ COPY --from=build /librtlsdr/rtl-sdr.rules /usr/lib/udev/rules.d/rtl-sdr.rules