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

Reduce image layers and strip debug flags #699

Merged
merged 1 commit into from
Nov 4, 2019
Merged

Conversation

mogren
Copy link
Contributor

@mogren mogren commented Nov 2, 2019

Description of changes:

  • Strip debug info from the binaries
  • Copy all files in one layer

The aws-cni binary went from 34 Mb to 15 Mb.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mogren mogren requested review from jaypipes and nckturner November 2, 2019 18:02
@mogren mogren changed the title Reduce image layer and strip debug flags Reduce image layers and strip debug flags Nov 3, 2019
Copy link
Contributor

@nckturner nckturner left a comment

Choose a reason for hiding this comment

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

Nice.

@mogren mogren merged commit 941c7c8 into aws:master Nov 4, 2019
@mogren mogren deleted the smaller-image branch November 5, 2019 18:47
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