1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix: symlink libnl's search path for tc netem distributions

This commit is contained in:
Steffen Vogel 2017-07-12 00:52:24 +02:00
parent dc4085047d
commit 2af83114bf
2 changed files with 6 additions and 0 deletions

View file

@ -79,6 +79,9 @@ RUN dnf -y install \
COPY thirdparty/criterion /tmp/criterion
RUN mkdir -p /tmp/criterion/build && cd /tmp/criterion/build && cmake -DCMAKE_INSTALL_LIBDIR=/usr/local/lib64 .. && make install && rm -rf /tmp/*
# Workaround for libnl3's search path for netem distributions
RUN ln -s /usr/lib64/tc /usr/lib/tc
# Expose ports for HTTP and WebSocket frontend
EXPOSE 80
EXPOSE 443

View file

@ -95,6 +95,9 @@ EXPOSE 443
ENV LD_LIBRARY_PATH /usr/local/lib:/usr/local/lib64
# Workaround for libnl3's search path for netem distributions
RUN ln -s /usr/lib64/tc /usr/lib/tc
ENTRYPOINT villas
WORKDIR /villas
ENTRYPOINT bash