arm64 ldconfig order

This commit is contained in:
matlabbe
2026-09-22 09:01:55 -07:00
parent 96b5881e2f
commit aa9cc2f3d7
7 changed files with 28 additions and 0 deletions
+4
View File
@@ -117,6 +117,10 @@ RUN git clone https://github.com/laurentkneip/opengv.git && \
cd && \
rm -r opengv
# ld.so.conf.d is read in filename order: <arch>-linux-gnu.conf sorts before
# libc.conf (/usr/local/lib) on arm64, so source builds lose to the distro ones.
RUN echo /usr/local/lib > /etc/ld.so.conf.d/00-usr-local.conf && ldconfig
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
RUN echo -e '#!/bin/bash\nset -e\n\n# setup ros2 environment\nsource "/opt/ros/jazzy/setup.bash" --\nexec "$@"' > /ros_entrypoint.sh