mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
docker: build libuldaq for Raspbian
This commit is contained in:
parent
e5c13a5cd4
commit
5845482f99
1 changed files with 9 additions and 1 deletions
|
@ -38,6 +38,7 @@ ARG VARIANT=unknown
|
|||
# Toolchain
|
||||
RUN apt-get update && apt-get install -y \
|
||||
gcc g++ \
|
||||
autoconf automake libtool \
|
||||
pkg-config cmake make ninja-build \
|
||||
texinfo git curl tar \
|
||||
protobuf-compiler protobuf-c-compiler
|
||||
|
@ -70,7 +71,8 @@ RUN apt-get install -y \
|
|||
libcomedi-dev \
|
||||
libibverbs-dev \
|
||||
librdmacm-dev \
|
||||
libre-dev
|
||||
libre-dev \
|
||||
libusb-1.0-0-dev
|
||||
|
||||
# Build & Install libwebsockets
|
||||
RUN cd /tmp && \
|
||||
|
@ -86,6 +88,12 @@ RUN cd /tmp && \
|
|||
cmake .. && make -j$(nproc) install && \
|
||||
rm -rf /tmp/*
|
||||
|
||||
RUN cd /tmp && \
|
||||
git clone -b rpm https://github.com/stv0g/uldaq && \
|
||||
cd uldaq && \
|
||||
autoreconf -i && ./configure && make -j$(nproc) install && \
|
||||
rm -rf /tmp/*
|
||||
|
||||
# Expose ports for HTTP and WebSocket frontend
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
|
Loading…
Add table
Reference in a new issue