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

Implement UPX compression #130

Closed
wants to merge 1 commit into from
Closed

Implement UPX compression #130

wants to merge 1 commit into from

Conversation

tempusfrangit
Copy link
Member

No description provided.

@tempusfrangit
Copy link
Member Author

tempusfrangit commented Dec 20, 2023

It reduces the resulting binary to 2.6MB. Still a far cry from being something we can embed in a config map. But a whole lot smaller. I wonder if we could get down to well under 1MB reliably. In which case we could inject with a configMap.

Unlikely considering a -s -w hello world binary is about 1.3MB

@tempusfrangit tempusfrangit marked this pull request as ready for review December 20, 2023 06:08
Comment on lines +88 to +91
- name: Install UPX
uses: crazy-max/ghaction-upx@v3
with:
install-only: true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like a better way to get UPX to the system.

@tempusfrangit tempusfrangit changed the title Try implement UPX compression Implement UPX compression Dec 20, 2023
@tempusfrangit tempusfrangit marked this pull request as draft December 20, 2023 13:53
@tempusfrangit tempusfrangit deleted the compress branch March 1, 2024 18:50
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