Jenkins pip timeout

You have a docker problem, not a Jenkins problem.

Make sure your environment variable is available inside of the Docker build - for example using ENV or

If your container image is designed to run in the environment behind that proxy you might want to embed those variables.