try something else

This commit is contained in:
Thomas Quandalle
2022-06-18 08:08:49 +02:00
parent f4c6cbfcf3
commit 5943421ebb

View File

@@ -55,7 +55,7 @@ RUN cp -r /agent ./
####################################
# This will collect dependent libraries so they're later copied to the final image
RUN ldd /agent/main
RUN /agent/main version
RUN ldd /agent/main | tr -s '[:blank:]' '\n' | grep '^/' | \
xargs -I % sh -c 'mkdir -p $(dirname ./%); cp % ./%;'