Skip to content

Use 'strip -s` in docker-php-ext-enable to save disk space #297

@c0deright

Description

@c0deright

Hi,

I was just wondering why docker-php-ext-enable isn't doing a strip -s on the .so files?

I just reduced the disk usage of /usr/local/lib/php/extensions/no-debug-non-zts-* directory from 12MB to 3MB just by running strip -s on the .so files there.

Please consider stripping unnecessary symbols this way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions