Skip to content

Commit

Permalink
fixup! [operator] Always generate debug symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMountain committed Jan 15, 2025
1 parent 71a820b commit 1620761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN set -xe && \
{} \;

# Check debug symbols are present
RUN set -x ; for f in $(find /tmp/debug -type f -name '*.debug') ; do readelf -S ${f} | grep -q \\.symtab || \
RUN set -x ; for f in $(find /tmp/debug -type f -name '*.debug' -not -name 'debug-wrapper.debug') ; do readelf -S ${f} | grep -q \\.symtab || \
(echo Debug symbols are missing in ${f} - possibly due to incorrect build parameters && false); done

# BUILDPLATFORM is an automatic platform ARG enabled by Docker BuildKit.
Expand Down

0 comments on commit 1620761

Please sign in to comment.