You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the sudo -E (use in the entrypoint) drops the ENV variable.
Indeed, adding line sudo sudo -V in the entrypoint confirms this:
...
2024-04-18T14:57:18.251159989Z + sudo sudo -V
2024-04-18T14:57:18.251168450Z Running Airflow as user nicolas(1000)
2024-04-18T14:57:18.263092122Z Sudo version 1.8.31
...
2024-04-18T14:57:18.263487539Z Reset the environment to a default set of variables
2024-04-18T14:57:18.263495737Z Environment variables to check for sanity:
2024-04-18T14:57:18.263503981Z TZ
2024-04-18T14:57:18.263512002Z TERM
...
2024-04-18T14:57:18.263557707Z Environment variables to remove:
2024-04-18T14:57:18.263565589Z *=()*
...
2024-04-18T14:57:18.263830321Z BASH_ENV
2024-04-18T14:57:18.263837391Z ENV
...
2024-04-18T14:57:18.263941930Z Environment variables to preserve:
...
The text was updated successfully, but these errors were encountered:
I'm using the latest version (eacc17c)
In my
variables.env
I haveThen the environment variables
FOO
is available to Airflow, but notENV
.The variables are injected into the container:
But the
sudo -E
(use in the entrypoint) drops theENV
variable.Indeed, adding line
sudo sudo -V
in the entrypoint confirms this:The text was updated successfully, but these errors were encountered: