How to Force rebuild of image? (docker build --no-cache --pull)

Hello. Is there a way to force the building of an image? I changed some repositories used for pip packages, but for various reasons of nested dependencies, this cannot be straightforwardly propagated to the dockerfile/requirements. I see the options --no-cache --pull exist for docker build to achieve this.

@carloferrigno did you manage to do this? It should only be a matter of modifying the docker build line in .gitlab-ci.yml.