Hello,
I am trying to set an environment variables in a environment.yml
file (cf. dolfin_warp-tutorials/.repo2docker/environment.yml at d652be8c959928b79e3c8cc47c283ac663910c49 · mgenet/dolfin_warp-tutorials · GitHub). The image is built using repo2docker
in a GitHub Action (cf. Setting up Docker image and Jupyter book build and deploy on GitHub · mgenet/dolfin_warp-tutorials@945c219 · GitHub). Unfortunately the environment variable is not set (cf. Binder). Any idea? Thanks in advance!
It is the start
configuration file you want to set environment variables in, see here.
From the documentation on start
here:
“Use this to set environment variables that software installed in your container expects to be set.”
Example:
2 Likes
Thank you! Any idea why the environment variable defined in the .yml
file is not set? I think it used to be taken into account.