Skip to content

chore: fix upx compression#583

Merged
duncanista merged 4 commits intomainfrom
jordan.gonzalez/fix-upx-compression
Mar 3, 2025
Merged

chore: fix upx compression#583
duncanista merged 4 commits intomainfrom
jordan.gonzalez/fix-upx-compression

Conversation

@duncanista
Copy link
Copy Markdown
Contributor

What?

Fixes UPX compression to use latest v5.0.0
Previous one wasn't performant enough for cross-architecture compression

How?

  • Install UPX from GitHub in layer builder
  • Remove compression on Go compilation

#Tests

  • Tested manually in AWS Lambda by running scripts locally

@duncanista duncanista requested a review from a team as a code owner March 3, 2025 18:38
# Install dependencies
RUN apt-get update
RUN apt-get install -y zip binutils
RUN apt-get install -y zip binutils wget tar xz-utils
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Quality Violation

package wget should have version pinned (...read more)

When using apt-get install, pin the version to avoid unwanted upgrades and undefined behavior.

View in Datadog  Leave us feedback  Documentation

@duncanista duncanista merged commit 35a7dbc into main Mar 3, 2025
33 checks passed
@duncanista duncanista deleted the jordan.gonzalez/fix-upx-compression branch March 3, 2025 18:53
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.

2 participants