Removed stripping out code of colons as not required
This commit is contained in:
parent
2dd4da3c24
commit
8ab74d8ab6
2 changed files with 2 additions and 2 deletions
|
@ -5,4 +5,4 @@ services:
|
|||
build: .
|
||||
container_name: recurring-console
|
||||
environment:
|
||||
- CRON_Console:OutputString=NewTestString
|
||||
- CRON_Console__OutputString=NewTestString
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo '#!/bin/bash' > /app/set_env.sh
|
||||
printenv | sed '/^affinity:container/ d' | sed -r ':b; s/^([^=]*):/\1__/g; tb;' | sed -r 's/^([a-zA-Z_]+[a-zA-Z0-9_-]*)=(.*)$/export \1="\2"/g' >> /app/set_env.sh
|
||||
printenv | sed '/^affinity:container/ d' | sed -r 's/^([a-zA-Z_]+[a-zA-Z0-9_-]*)=(.*)$/export \1="\2"/g' >> /app/set_env.sh
|
||||
chmod +x /app/set_env.sh
|
Loading…
Reference in a new issue