mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 17:20:30 +08:00
testenv: libgpiod from the repo
This commit is contained in:
parent
95418c9400
commit
314459310a
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user