Address comments

This commit is contained in:
Joseph Schorr 2015-02-02 14:07:32 -05:00
parent 1022355bb1
commit 84e5c0644e
4 changed files with 7 additions and 3 deletions

View file

@ -150,7 +150,7 @@ class ACIImage(TarImageFormatter):
manifest = {
"acKind": "ImageManifest",
"acVersion": "0.1.1",
"acVersion": "0.2.0",
"name": '%s/%s/%s/%s' % (hostname, namespace, repository, tag),
"labels": [
{
@ -172,7 +172,8 @@ class ACIImage(TarImageFormatter):
"group": config.get('Group', '') or 'root',
"eventHandlers": [],
"workingDirectory": config.get('WorkingDir', ''),
"environment": {key:value for (key, value) in [e.split('=') for e in config.get('Env')]},
"environment": [(key, value)
for (key, value) in [e.split('=') for e in config.get('Env')]],
"isolators": self._build_isolators(config),
"mountPoints": self._build_volumes(config),
"ports": self._build_ports(config),