kopia lustrzana https://github.com/weetmuts/wmbusmeters
Add libxml2 dependency.
rodzic
872bc53ace
commit
128aa77b78
|
@ -1,5 +1,5 @@
|
|||
FROM multiarch/alpine:${TARGETARCH}${TARGETVARIANT}-latest-stable AS build
|
||||
RUN apk add --no-cache alpine-sdk gcc linux-headers librtlsdr-dev cmake libusb-dev bash
|
||||
RUN apk add --no-cache alpine-sdk gcc linux-headers librtlsdr-dev libxml2-dev cmake libusb-dev bash
|
||||
RUN git clone https://github.com/wmbusmeters/wmbusmeters.git && \
|
||||
git clone https://github.com/weetmuts/rtl-wmbus.git && \
|
||||
git clone https://github.com/merbanan/rtl_433.git
|
||||
|
@ -12,7 +12,7 @@ RUN mkdir build && cd build && cmake ../ && make
|
|||
|
||||
FROM multiarch/alpine:${TARGETARCH}${TARGETVARIANT}-latest-stable as scratch
|
||||
ENV QEMU_EXECVE=1
|
||||
RUN apk add --no-cache mosquitto-clients libstdc++ curl libusb rtl-sdr netcat-openbsd
|
||||
RUN apk add --no-cache mosquitto-clients libstdc++ curl libusb rtl-sdr libxml2 netcat-openbsd
|
||||
WORKDIR /wmbusmeters
|
||||
COPY --from=build /wmbusmeters/build/wmbusmeters /wmbusmeters/wmbusmeters
|
||||
COPY --from=build /rtl-wmbus/build/rtl_wmbus /usr/bin/rtl_wmbus
|
||||
|
|
|
@ -49,6 +49,7 @@ parts:
|
|||
- g++
|
||||
- make
|
||||
- librtlsdr-dev
|
||||
- libxml2-dev
|
||||
stage-packages:
|
||||
- mosquitto-clients
|
||||
- curl
|
||||
|
@ -56,6 +57,7 @@ parts:
|
|||
- sysvinit-utils
|
||||
- libusb-1.0-0
|
||||
- rtl-sdr
|
||||
- libxml2
|
||||
prime:
|
||||
- sbin/
|
||||
- usr/bin/
|
||||
|
|
Ładowanie…
Reference in New Issue