diff options
author | Devaev Maxim <[email protected]> | 2020-09-12 15:37:36 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-12 15:37:51 +0300 |
commit | 6f75496550e57519e9b6588a79b227a3c3afdce5 (patch) | |
tree | 0594ced1a784693149ee67442ad982750d36b65d /testenv/Dockerfile | |
parent | 1dad3ee3ad73372815a56c4b8f3dc7550264ef6d (diff) |
libgpiod initials
Diffstat (limited to 'testenv/Dockerfile')
-rw-r--r-- | testenv/Dockerfile | 15 |
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 |