testenv: libgpiod from the repo

This commit is contained in:
Maxim Devaev 2023-04-20 19:30:16 +03:00
parent 95418c9400
commit 314459310a

View File

@ -60,6 +60,7 @@ RUN pacman --noconfirm --ask=4 -Syy \
python-hidapi \
python-ldap \
python-zstandard \
libgpiod \
freetype2 \
nginx-mainline \
tesseract \
@ -84,18 +85,6 @@ RUN npm install htmlhint -g \
&& npm install @babel/eslint-parser -g
WORKDIR /
ARG LIBGPIOD_VERSION
ENV LIBGPIOD_PKG libgpiod-$LIBGPIOD_VERSION
RUN curl \
-o $LIBGPIOD_PKG.tar.gz \
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/$LIBGPIOD_PKG.tar.gz \
&& tar -xzvf $LIBGPIOD_PKG.tar.gz \
&& cd $LIBGPIOD_PKG \
&& ./autogen.sh --prefix=/usr --enable-tools=yes --enable-bindings-python \
&& make PREFIX=/usr install \
&& cd - \
&& rm -rf $LIBGPIOD_PKG{,.tar.gz}
ARG USTREAMER_MIN_VERSION
ENV USTREAMER_MIN_VERSION $USTREAMER_MIN_VERSION
RUN echo $USTREAMER_MIN_VERSION
@ -107,7 +96,7 @@ RUN git clone https://github.com/pikvm/ustreamer \
RUN mkdir -p \
/etc/kvmd/{nginx,vnc} \
/var/lib/kvmd/msd/{images,meta} \
/var/lib/kvmd/msd \
/var/lib/kvmd/pst/data \
/opt/vc/bin