I have a build that uses the circleci/python:3 image:
some_job: docker: - image: circleci/python:3 steps: ...
In this job I build a docker docker container with a long-ish requirements.txt file. The build fails using the circleci/python:3 image.
I’ve just cancelled my latest attempt using circleci/python:3.6 where the docker build process had reached “installing pandas” stage after 20 minutes. This is much more than it usually takes (and should take).
I have tried testing with this short Dockerfile, which spends an unusually long time downloading h5py package:
FROM circleci/python:3 COPY main.py . COPY requirements.txt . RUN pip install -r requirements.txt CMD python main.py
This fail for me locally. Now compare this to a dockerfile that uses the (non-circleci) pyhon:3 image. The latter build is successful (and much much faster) also locally.
According to Twitter, I am not the only one facing this issue. Dockerhub lists the circleci/python:3 image as “Last updated 14 hours ago bycirclecipublicimage”