mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
without find
Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
This commit is contained in:
parent
525b4f7e7b
commit
dd05f47e97
1 changed files with 5 additions and 5 deletions
|
@ -172,11 +172,11 @@ RUN echo "${PREFIX}/lib" >> /etc/ld.so.conf && \
|
|||
|
||||
ENV PATH=${PREFIX}/bin:${PATH}
|
||||
|
||||
# run find -name libvillas.so and store it in variable
|
||||
RUN find / -name libvillas.so > /tmp/libvillas_path.txt && \
|
||||
echo "The path to libvillas.so is $(cat /tmp/libvillas_path.txt)" && \
|
||||
RUN export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(dirname $(cat /tmp/libvillas_path.txt)) && \
|
||||
RUN rm /tmp/libvillas_path.txt
|
||||
# # run find -name libvillas.so and store it in variable
|
||||
# RUN find / -name libvillas.so > /tmp/libvillas_path.txt && \
|
||||
# echo "The path to libvillas.so is $(cat /tmp/libvillas_path.txt)" && \
|
||||
# RUN export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(dirname $(cat /tmp/libvillas_path.txt)) && \
|
||||
# RUN rm /tmp/libvillas_path.txt
|
||||
|
||||
# Test if it runs
|
||||
RUN villas node -h 2>&1 > /dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue