Closed stefan-pdx closed 8 years ago
From what I know they only support variable substitution without default value :
Both $VARIABLE and ${VARIABLE} syntax are supported. Extended shell-style features, such as ${VARIABLE-default} and ${VARIABLE/foo/bar}, are not supported.
Did I miss something ?
What changes do you suggest in the docker-omero
repo ?
Oh -- gah. Sorry about that. RTFM :facepalm:
Disregard!
:-)
I hope they will add this feature soon !
Docker Compose now supports default values for environment variables in the form of
${MYVARIABLE-default_value}
. This would simplify the build process.