Is it possible to pass custom environment variables to the docker container?

So, I was crazy. This works fine. The issue was due to a multiline value. I removed it and the build suceeded. But the question is, how to use multiline values?