python/network/docker_image: fix compatibility with gcr.io and quay.io
python/network/docker_image: fix compatibility with gcr.io and quay.io

Fixes: https://github.com/fishilico/shared/issues/1

fishilico/shared,fishilico/shared,fishilico/shared,fishilico/shared,fishilico/shared,fishilico/shared,fishilico/shared