Docker Env Variables for Building

So I have a Dockerfile Config set which builds and runs my container. 

I run Linux and have on my bash session the export 
export | grep DOCKER
declare -x DOCKER_BUILDKIT="1"

From the command line docker build sees it and all works as expected

From Goland it doesn't work. I have logged out and in and have the environment variable exported properly.

 

The issue is Goland seems to ignore it and there is no where to set Env Varibiables in the config.  You can set Build Args but this is different. You can set ENV fro docker run AGAIN the problem is for docker build 

0

Please sign in to leave a comment.