#Multiple environment variables

1 messages · Page 1 of 1 (latest)

random sphinx
bronze stratus
civic rover
#

I want to offer up option 3 🙂

export -p > env_vars.sh - this will dump your env with export prefixed

then load in and source the file, here is a one liner example

dagger core container from --address "alpine" with-file --path "env_vars.sh" --source env_vars.sh with-exec --args "sh,-c,source env_vars.sh && env" stdout