mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
add libnice dependency to other Dockerfiles
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
parent
55998d1bcf
commit
59ecd740d4
4 changed files with 14 additions and 7 deletions
|
@ -319,16 +319,20 @@ fi
|
|||
# Build & Install libdatachannel
|
||||
if ! cmake --find-package -DNAME=LibDataChannel -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST && \
|
||||
[ -z "${SKIP_LIBDATACHANNEL}" ]; then
|
||||
git clone ${GIT_OPTS} --branch v0.18.4 https://github.com/paullouisageneau/libdatachannel && pushd libdatachannel
|
||||
git clone ${GIT_OPTS} --branch v0.18.4 https://github.com/paullouisageneau/libdatachannel && pushd libdatachannel
|
||||
git submodule update --init --recursive --depth 1
|
||||
mkdir build && pushd build
|
||||
|
||||
cmake -DUSE_NICE=ON \
|
||||
-DNO_MEDIA=ON \
|
||||
if pkg-config "nice >= 0.1.16"; then
|
||||
CMAKE_DATACHANNEL_USE_NICE=-DUSE_NICE=ON
|
||||
fi
|
||||
|
||||
cmake -DNO_MEDIA=ON \
|
||||
-DNO_WEBSOCKET=ON \
|
||||
${CMAKE_DATACHANNEL_USE_NICE} \
|
||||
${CMAKE_OPTS} ..
|
||||
|
||||
make ${MAKE_OPTS} ${TARGET}
|
||||
make ${MAKE_OPTS} install
|
||||
popd; popd
|
||||
fi
|
||||
|
||||
|
|
|
@ -49,7 +49,8 @@ RUN apt-get update && \
|
|||
libfmt-dev \
|
||||
libspdlog-dev \
|
||||
liblua5.3-dev \
|
||||
libhiredis-dev
|
||||
libhiredis-dev \
|
||||
libnice-dev
|
||||
|
||||
# Add local and 64-bit locations to linker paths
|
||||
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||
|
|
|
@ -46,7 +46,8 @@ RUN dnf -y install \
|
|||
librdmacm-devel \
|
||||
libusb1-devel \
|
||||
lua-devel \
|
||||
hiredis-devel
|
||||
hiredis-devel \
|
||||
libnice-devel
|
||||
|
||||
# Add local and 64-bit locations to linker paths
|
||||
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||
|
|
|
@ -51,7 +51,8 @@ RUN apt-get update && \
|
|||
libfmt-dev \
|
||||
libspdlog-dev \
|
||||
liblua5.3-dev \
|
||||
libhiredis-dev
|
||||
libhiredis-dev \
|
||||
libnice-dev
|
||||
|
||||
# Add local and 64-bit locations to linker paths
|
||||
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||
|
|
Loading…
Add table
Reference in a new issue