summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
Diffstat (limited to 'testenv')
-rw-r--r--testenv/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile
index 8b67d272..87ed5f8f 100644
--- a/testenv/Dockerfile
+++ b/testenv/Dockerfile
@@ -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