We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b013f8 commit 3b95c3dCopy full SHA for 3b95c3d
Dockerfile
@@ -19,8 +19,9 @@ RUN cmake -S . -B build -DCMAKE_BUILD_TYPE=Release \
19
20
# Collect all shared library dependencies for the runtime stage
21
RUN mkdir -p /runtime-libs && \
22
- ldd /usr/local/bin/panmap | grep '=>' | awk '{print $3}' | \
23
- while read lib; do [ -f "$lib" ] && cp -L "$lib" /runtime-libs/; done
+ (ldd /usr/local/bin/panmap 2>/dev/null || true) | grep '=>' | awk '{print $3}' | \
+ while read lib; do [ -f "$lib" ] && cp -L "$lib" /runtime-libs/; done && \
24
+ find /build/panmap/build -name '*.so*' -exec cp -L {} /runtime-libs/ \;
25
26
# Stage 2: Runtime
27
FROM ubuntu:22.04
0 commit comments