-
Notifications
You must be signed in to change notification settings - Fork 17
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
Made eks image smaller #780
Conversation
FROM amazonlinux:2023 as full_image | ||
|
||
RUN yum install -y aws-nitro-enclaves-cli && \ | ||
yum install aws-nitro-enclaves-cli-devel jq -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As @thomasm-ttd mentioned in my last PR aws-nitro-enclaves-cli-devel
is probably not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is amazons recommendation. The later code removes anything we don't need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will see if removing it changes anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to remove it unless we absolutely need it - not from a size thing, but it provides more tools and surface area for compromise on the image than we need.
######## full image ######## | ||
FROM amazonlinux:2023 as full_image | ||
|
||
RUN yum install -y aws-nitro-enclaves-cli && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also let's use dnf
instead of yum
: https://docs.aws.amazon.com/linux/al2023/ug/package-management.html
No description provided.