Skip to content

Commit

Permalink
try splitting string
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMountain committed Mar 7, 2024
1 parent 3523a54 commit 736e643
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion images/cilium/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ RUN export S=/tmp/install/${TARGETOS}/${TARGETARCH} && \
find . -type f \
-executable \
-exec sh -c \
'objcopy --only-keep-debug $0 $0.debug && if [ "$NOSTRIP" != "1" ] ; then objcopy --strip-debug $0 ; fi && objcopy --add-gnu-debuglink=$0.debug $0 && mkdir -p $D/$(dirname $0) && mv ${0}.debug $D/$0.debug' {} \;
'objcopy --only-keep-debug $0 $0.debug && \
if [ "$NOSTRIP" != "1" ] ; then objcopy --strip-debug $0 ; fi && \
objcopy --add-gnu-debuglink=$0.debug $0 && \
mkdir -p $D/$(dirname $0) && \
mv ${0}.debug $D/$0.debug' \
{} \;

COPY images/cilium/init-container.sh \
plugins/cilium-cni/cni-install.sh \
Expand Down

0 comments on commit 736e643

Please sign in to comment.