On the php/7.1/apache-composer/Dockerfile, it might be a good idea to have composer updating itself, before start being used.