Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
handle new lines in docker environment variables correctly #1081
Explanation for this:
When docker reads a .env file, it is not interpreted like bash as one would expect. Docker has its own parser that reads the variables in. This parser does not handle values that span multiple lines, even if they are quoted. So, any lines following a value with new lines could be messed up when read, and the value with new lines will only have the first line.
When instead using explicit
What this PR does is separates out any environment variables that may contain new lines and sets them using