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
Please sign in to leave a comment.
for reference see
https://youtrack.jetbrains.com/issue/GO-8653
and for intellij
https://youtrack.jetbrains.com/issue/IDEA-210514