Numba cache issue when running on docker

Hello,

I create a docker image with GitHub Actions and the Dockerfile warms up the cache (the numba cache is stored in the docker image).

When I run my docker container on AWS EC2, the cache is not used.

This does not happen if I create the docker image on AWS EC2 (same machine).

Is this expected ?

Is there a workaround ?

Thank you,

Yan

Solved. I have been able to warm up the Numba cache in the docker image.

My problems were due to the way Numba stamps each cached entry and how dates vary between environments (build and run).