mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10: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-hidapi \
|
||||||
python-ldap \
|
python-ldap \
|
||||||
python-zstandard \
|
python-zstandard \
|
||||||
|
libgpiod \
|
||||||
freetype2 \
|
freetype2 \
|
||||||
nginx-mainline \
|
nginx-mainline \
|
||||||
tesseract \
|
tesseract \
|
||||||
@ -84,18 +85,6 @@ RUN npm install htmlhint -g \
|
|||||||
&& npm install @babel/eslint-parser -g
|
&& npm install @babel/eslint-parser -g
|
||||||
WORKDIR /
|
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
|
ARG USTREAMER_MIN_VERSION
|
||||||
ENV USTREAMER_MIN_VERSION $USTREAMER_MIN_VERSION
|
ENV USTREAMER_MIN_VERSION $USTREAMER_MIN_VERSION
|
||||||
RUN echo $USTREAMER_MIN_VERSION
|
RUN echo $USTREAMER_MIN_VERSION
|
||||||
@ -107,7 +96,7 @@ RUN git clone https://github.com/pikvm/ustreamer \
|
|||||||
|
|
||||||
RUN mkdir -p \
|
RUN mkdir -p \
|
||||||
/etc/kvmd/{nginx,vnc} \
|
/etc/kvmd/{nginx,vnc} \
|
||||||
/var/lib/kvmd/msd/{images,meta} \
|
/var/lib/kvmd/msd \
|
||||||
/var/lib/kvmd/pst/data \
|
/var/lib/kvmd/pst/data \
|
||||||
/opt/vc/bin
|
/opt/vc/bin
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user