Skip to content

Commit 8c58471

Browse files
authored
Ship libltdl7 so nut-scanner runs, drop unused hidapi build deps (#527)
1 parent 3de2c97 commit 8c58471

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

nut/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN \
1313
autoconf=2.72-3.1 \
1414
automake=1:1.17-4 \
1515
build-essential=12.12 \
16-
libhidapi-dev=0.14.0-1+b2 \
1716
libltdl-dev=2.5.4-4 \
1817
libmodbus-dev=3.1.11-2 \
1918
libsnmp-dev=5.9.4+dfsg-2+deb13u1 \
@@ -37,7 +36,7 @@ RUN \
3736
&& tar -xzvf "${NUT_FILENAME}" \
3837
&& cd "${NUT_FILENAME%.tar.gz}" \
3938
&& ./configure --prefix=/usr --datadir=/usr/share/nut --sysconfdir=/etc/nut --with-drvpath=/usr/libexec/nut \
40-
--with-usb --with-hidapi --with-modbus --with-snmp --with-ssl \
39+
--with-usb --with-modbus --with-snmp --with-ssl \
4140
&& make \
4241
&& make DESTDIR=/app install
4342

@@ -52,7 +51,7 @@ COPY --from=builder /app /
5251
# Setup app
5352
RUN apt-get update \
5453
&& apt-get install -y --no-install-recommends \
55-
libhidapi-hidraw0=0.14.0-1+b2 \
54+
libltdl7=2.5.4-4 \
5655
libmodbus5=3.1.11-2 \
5756
libsnmp40t64=5.9.4+dfsg-2+deb13u1 \
5857
libusb-1.0-0=2:1.0.28-1 \

0 commit comments

Comments
 (0)