2017-07-07 16:00:38 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo '#!/bin/bash' > /app/set_env.sh
|
2017-09-26 21:22:01 +00:00
|
|
|
printenv | sed '/^affinity:container/ d' | sed -r 's/^([a-zA-Z_]+[a-zA-Z0-9_-]*)=(.*)$/export \1="\2"/g' >> /app/set_env.sh
|
2017-07-07 16:00:38 +00:00
|
|
|
chmod +x /app/set_env.sh
|