如何在Shibboleth xml文件中使用/访问docker环境变量?

如何在Shibboleth xml文件中使用/访问docker环境变量?,docker,environment-variables,dockerfile,shibboleth,shibboleth-sp,Docker,Environment Variables,Dockerfile,Shibboleth,Shibboleth Sp,我正在尝试将docker环境变量注入我的shibboleth2.xml文件。Shibboleth根本不识别我的环境变量 比如说 <ApplicationDefaults entityID="${MY_ENV_VARIABLE}"> 我想知道是否有办法让Shibboleth访问这些值 谢谢。envsubt可用于替换文件中的环境变量 envsubst < input.file > output.file envsubtoutput.file

我正在尝试将docker环境变量注入我的shibboleth2.xml文件。Shibboleth根本不识别我的环境变量

比如说

 <ApplicationDefaults entityID="${MY_ENV_VARIABLE}">

我想知道是否有办法让Shibboleth访问这些值


谢谢。

envsubt可用于替换文件中的环境变量

envsubst < input.file > output.file
envsubtoutput.file