SyntaxFix
Write A Post
Hire A Developer
Questions
According to the doc for the docker build command, there is a parameter called --build-arg.
docker build
--build-arg
Example usage:
docker build --build-arg HTTP_PROXY=http://10.20.30.2:1234 .
IMO it's what you need :)