I noticed several cases where CI CodeBuild projects for main branch failed because dockerhub refused to serve docker pull ubuntu:18.04 with error toomanyrequests.
Instead of hub.docker.com we can try to use public.ecr.aws to get ubuntu:18.04 docker image.
This PR updates inf containers to use public.ecr.aws/ubuntu/ubuntu:18.04
I noticed several cases where CI CodeBuild projects for main branch failed because dockerhub refused to serve
docker pull ubuntu:18.04
with errortoomanyrequests
.Instead of
hub.docker.com
we can try to usepublic.ecr.aws
to getubuntu:18.04
docker image.This PR updates inf containers to use
public.ecr.aws/ubuntu/ubuntu:18.04
Full error from CodeBuild for
Step 1/40 : FROM ubuntu:18.04 AS base
154 | 18.04: Pulling from library/ubuntu 155 | toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit 156 | 157 | [Container] 2022/04/12 03:08:11 Command did not exit successfully docker build --build-arg APP=xgboost -t xgboost-cpu -f container/Dockerfile.cpu . exit status 1 158 | [Container] 2022/04/12 03:08:11 Phase complete: BUILD State: FAILED 159 | [Container] 2022/04/12 03:08:11 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: docker build --build-arg APP=xgboost -t xgboost-cpu -f container/Dockerfile.cpu .. Reason: exit status 1