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

Made eks image smaller #780

Closed
wants to merge 3 commits into from

Conversation

cody-constine-ttd
Copy link
Contributor

No description provided.

FROM amazonlinux:2023 as full_image

RUN yum install -y aws-nitro-enclaves-cli && \
yum install aws-nitro-enclaves-cli-devel jq -y
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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 && \
Copy link
Contributor

Choose a reason for hiding this comment

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

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.

3 participants