I'm pulling a docker image from registry and I want to use it as cache, running locally docker build --cache-from MY_IMAGE .. It uses case up to the layer COPY requirements.txt ${SOME_DIR}. I suspect the problem is that docker looks at the file permissions, not just the file content. Is there any way to make it ignore the file permissions?
Thanks in advance! :)
PS I could probably use RUN, HEREDOC and pipes to avoid using COPY, but it would look really awful.
Regards