Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize binaries with UPX #106

Merged
merged 14 commits into from
Aug 26, 2024
Merged

Optimize binaries with UPX #106

merged 14 commits into from
Aug 26, 2024

Conversation

NiklasRosenstein
Copy link
Contributor

@NiklasRosenstein NiklasRosenstein commented Aug 23, 2024

Together with the removal of the nightly toolchain in #104 and not installing the default rust toolchain in #105, this reduces the extracted AMD64 image size for the Ubuntu 22 image by approx. 3.3GB.

ghcr.io/kraken-build/kraken-base-image/linux/amd64   1.8-22-gb5213c5   382a9e8e65f2   29 minutes ago   6.08GB
ghcr.io/kraken-build/kraken-base-image/linux/amd64   1.8.14            41d62e05154f   2 weeks ago      9.35GB

The saving by compressing with UPX alone is approx. 430MB.

@NiklasRosenstein NiklasRosenstein self-assigned this Aug 23, 2024
@NiklasRosenstein NiklasRosenstein marked this pull request as ready for review August 26, 2024 09:07
@NiklasRosenstein NiklasRosenstein merged commit f414684 into develop Aug 26, 2024
6 checks passed
@NiklasRosenstein NiklasRosenstein deleted the nr/upx branch August 26, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant