Skip to content

Commit

Permalink
strip all the result in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
lacraig2 committed Jan 27, 2025
1 parent e58528f commit 2d163f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ RUN ninja -C /panda/build install
# this layer is used to strip shared objects and change python data to be
# symlinks to the installed panda data directory
FROM installer AS cleanup
RUN find /panda/build -name "*.so" -exec strip {} \;
RUN find /usr/local/lib/x86_64-linux-gnu -name "*.so" -exec strip {} \;
RUN strip /panda/build/contrib/plugins/libpanda_plugin_interface.so

FROM base AS panda
COPY --from=cleanup /panda/build/libpanda* /usr/local/bin

0 comments on commit 2d163f2

Please sign in to comment.