mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
libgpiod initials
This commit is contained in:
@@ -6,6 +6,9 @@ RUN pacman -Syu --noconfirm \
|
||||
&& pacman -S --needed --noconfirm \
|
||||
base \
|
||||
base-devel \
|
||||
autoconf-archive \
|
||||
help2man \
|
||||
m4 \
|
||||
vim \
|
||||
git \
|
||||
libjpeg \
|
||||
@@ -30,6 +33,18 @@ RUN npm install htmlhint -g \
|
||||
&& npm install pug \
|
||||
&& npm install pug-cli -g
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user