mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
docker: add local lib folders to dl search path
This commit is contained in:
parent
795ef6e1a2
commit
048561417c
2 changed files with 4 additions and 2 deletions
|
@ -40,7 +40,8 @@ RUN rm -rf /villas/build && mkdir /villas/build
|
|||
WORKDIR /villas/build
|
||||
RUN cmake .. && \
|
||||
make -j$(nproc) doc && \
|
||||
make -j$(nproc) install
|
||||
make -j$(nproc) install && \
|
||||
ldconfig
|
||||
|
||||
# For WebSocket / API access
|
||||
EXPOSE 80
|
||||
|
|
|
@ -88,7 +88,7 @@ RUN dnf -y install \
|
|||
libusb-devel
|
||||
|
||||
# Add local and 64-bit locations to linker paths
|
||||
ENV echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||
RUN echo /usr/local/lib >> /etc/ld.so.conf && \
|
||||
echo /usr/local/lib64 >> /etc/ld.so.conf
|
||||
|
||||
ENV VARIANT=fedora
|
||||
|
@ -98,6 +98,7 @@ ENV TRIPLET=x86_64-linux-gnu
|
|||
# Install unpackaged dependencies from source
|
||||
ADD packaging/deps.sh /
|
||||
RUN bash deps.sh
|
||||
RUN ldconfig
|
||||
|
||||
# Workaround for libnl3's search path for netem distributions
|
||||
RUN ln -s /usr/lib64/tc /usr/lib/tc
|
||||
|
|
Loading…
Add table
Reference in a new issue