Closed zokradonh closed 5 years ago
Hi @zokradonh,
yes I have already came across the point that the way of handling some values in .env is not really practical when this file is also sourced by some of the bash script.
the current solution for this is https://github.com/zokradonh/kopano-docker/blob/master/setup-update-tag.sh#L16-L23, but maybe this needs a different handling altogether.
Ok, so we have three consumers of the .env
file?
You have to replace postfix by docker-compose. It's just primarily the mta image depending on unquoted variables. The quick fix would be moving these values into the dedicated per container env files.
Versioning fails if multiple webapp plugins are defined in
.env
.Reason: https://github.com/zokradonh/kopano-docker/blob/ae7f679be27c70350489e97a3b9704353d2ce178/setup.sh#L337
This line as it is currently allows use in
Makefile
but fails inversion.sh
:With enclosed quotes allows use in
version.sh
but then fails inMakefile
:sh
interprets the quotes butmake
takes them literally oninclude
.