Codebuild yum fails on amazonlinux:2022 due to dns

0

I have a CodeBuild job that tries to build a docker container based off amazonlinux:2022 it works great locally but fails in CodeBuild with the following error

FROM public.ecr.aws/amazonlinux/amazonlinux:2022

...do a yum -y install then

Amazon Linux 2022 repository 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'amazonlinux':

How can I get dns to work in code build so that it can acess the amazonlinux:2022 repositories on cdn.amazonlinux.com ?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠