Switch to a name, value dict, rather than a tuple

This commit is contained in:
Joseph Schorr 2015-02-02 14:25:03 -05:00
parent 84e5c0644e
commit 8d6cda44b5

View file

@ -172,7 +172,7 @@ class ACIImage(TarImageFormatter):
"group": config.get('Group', '') or 'root',
"eventHandlers": [],
"workingDirectory": config.get('WorkingDir', ''),
"environment": [(key, value)
"environment": [{"name": key, "value": value}
for (key, value) in [e.split('=') for e in config.get('Env')]],
"isolators": self._build_isolators(config),
"mountPoints": self._build_volumes(config),