mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 03:06:27 +00:00
Pass the env vars in the way docker expects.
This commit is contained in:
parent
a51a648267
commit
1b74e0cca5
@ -69,7 +69,7 @@ exports.start = start = (app) ->
|
||||
Cmd: ['/bin/bash', '-c', '/start']
|
||||
Volumes:
|
||||
'/dev': {}
|
||||
Env: app.env
|
||||
Env: _.map app.env, (v, k) -> k + '=' + v
|
||||
)
|
||||
.then (container) ->
|
||||
console.log('Starting container:', app.imageId)
|
||||
|
Loading…
Reference in New Issue
Block a user