canonical / snap-vault

Vault is a tool for securely accessing secrets
https://snapcraft.io/vault
Other
16 stars 10 forks source link

Binaries in the snap are not stripped, which wastes space #32

Closed albertodonato closed 1 year ago

albertodonato commented 1 year ago

The binaries shipped in the snap are not stripped, which makes the snap bigger. From my test, stripping them saves ~200Mb of uncompressed space.

It should be enough to add strip -s $CRAFT_PART_INSTALL/bin/* at the end of the override-build target.

Ideally, snapcraft should strip binaries by default (see this bug)