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

Why are Amazon Linux 2023 images called amazonlinux2? #726

Open
dennisvang opened this issue Jun 12, 2024 · 5 comments
Open

Why are Amazon Linux 2023 images called amazonlinux2? #726

dennisvang opened this issue Jun 12, 2024 · 5 comments

Comments

@dennisvang
Copy link

dennisvang commented Jun 12, 2024

According to the docs the latest x84_64 image identifier for Amazon Linux 2023 is aws/codebuild/amazonlinux2-x86_64-standard:5.0:

screenshot of docs, in case they are updated later

Take special note of the amazonlinux2 in the identifier for the AL 2023 image.

Despite it being called amazonlinux2, the image [amazonlinux2-x86_64-standard:5.0](https://github.com/aws/aws-codebuild-docker-images/blob/master/al2/x86_64/standard/5.0) does indeed point to an Amazon Linux 2023 image:

FROM public.ecr.aws/amazonlinux/amazonlinux:2023 AS core

This is quite confusing, especially when selecting an image in the codebuild console, because the option name suggests amazon linux 2, but it's actually an AL2023 image:

screenshot of codebuild console showing confusing names

@dailytabs
Copy link

Yet more idiocy. They have no idea how to explain anything to their users, and naming things like this doesn't help one bit. Not a single mention of this naming strategy anywhere they are used, nor in the Blog post mentioning the availability of AL2023 on Lambda.

@onejgordon
Copy link

Came here after today's emails from AWS:

Starting on September 4, 2024, AWS CodeBuild will upgrade its fleet of build hosts to use Amazon Linux 2023 (AL2023) from Amazon Linux 2 (AL2) [1]. If your builds rely on AL2 as the underlying operating system, you will need to update your buildspec and any custom images to work with the AL2023. However, if you have already upgraded your buildspec or any custom images you can disregard the rest of this message.

Seeing amazonlinux2 in several of our production buildspecs got me worried, but as pointed out, it looks like we've already migrated to AL2023. Very strange naming choices.

@notAmine
Copy link

I was also bitten by this naming inconsistency please add better documentation or warning in the UI

@yjwx18
Copy link

yjwx18 commented Sep 30, 2024

+1 here

@paulo-pertierra
Copy link

+1 got confused and had to review config for a bit of time

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

No branches or pull requests

6 participants