cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

User defined Environment variables for docker style apps

arun1587
Level 1
Level 1

Hello, 

Can we have a user-defined env variables other than the default CAF_XXX related variables in docker style apps? 

 

for example: 

in the Dockerfile, I could define

 

...
FROM apline:3.5 ENV TEST_VAR=xyz ...

and use it inside the application using

os.getenv("TEST_VAR")

?

 

 

thanks,

 

Who Me Too'd this topic