Build a docker image on AWS Codebuild based on an image pulled from an ECR of another user: “no basic auth credentials”
问题 I have a line in my Dockerfile like this: FROM 6*********.dkr.ecr.ap-southeast-1.amazonaws.com/*************:ff03401 This ECR is owned by another user. As recommended in this question, I am trying to log in by using these commands in the build section of my buildspec.yml , and then immediately pull this docker image: - aws configure set aws_access_key_id $ECR_ACCESS_KEY - aws configure set aws_secret_access_key $ECR_SECRET_KEY - eval aws ecr get-login --no-include-email --region ap-southeast