-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Docker set environment variables (from Dockerfile ENV and docker-compose environment) are currently not visible in the environment of a cron job process.
We need to figure out a way to pass them correctly to cron jobs/etc. We could write to /etc/profile.d/docker-environment.sh, similar to how we handle secrets' conversion:
Lines 107 to 108 in 113ca9f
| # Write new variables to /etc/profile.d/secrets.sh to make them available for all users/sessions | |
| echo "export ${key}=\"${secret_value}\"" | tee -a "/etc/profile.d/secrets.sh" >/dev/null |
References:
Related issues: #128 , #187, docksal/docksal#1401