Commit d9c89e81 authored by Niklas Eiling's avatar Niklas Eiling Committed by Markus Mirz
Browse files

Docker: install libwebsockets (VILLASnode dependency) from source instead of...


Docker: install libwebsockets (VILLASnode dependency) from source instead of from package because the repo is broken
Signed-off-by: Niklas Eiling's avatarNiklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
parent 1778eb9d
......@@ -17,8 +17,6 @@ RUN dnf -y update && \
dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm && \
dnf config-manager --set-enabled powertools && \
dnf config-manager --set-enabled remi
# We probably want to remove this once EPEL fixes their repos
#RUN dnf config-manager --enable devel
# CUDA dependencies
RUN dnf -y install https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-repo-rhel8-10.2.89-1.x86_64.rpm && \
......@@ -71,9 +69,21 @@ RUN dnf -y install \
libnl3-devel \
libcurl-devel \
jansson-devel \
libwebsockets-devel \
mosquitto-devel
# Install Libwebsockets from source because the repo variant is not suitable
RUN git clone --branch v4.0-stable --depth 1 https://libwebsockets.org/repo/libwebsockets && \
mkdir -p libwebsockets/build && \
pushd libwebsockets/build && \
cmake -DLWS_WITH_IPV6=ON \
-DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_WITHOUT_EXTENSIONS=OFF \
-DLWS_WITH_SERVER_STATUS=ON \
${CMAKE_OPTS} .. && \
make -j$(nproc) ${TARGET} && \
popd
# Profiling dependencies
RUN dnf -y install \
graphviz \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment