diff options
Diffstat (limited to 'docker/docker-toool')
-rwxr-xr-x | docker/docker-toool | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/docker-toool b/docker/docker-toool index 36aba4a7..0b87ea92 100755 --- a/docker/docker-toool +++ b/docker/docker-toool @@ -75,6 +75,9 @@ def parse_opts(argv): def docker_arg_map(key, value): value = str(value).encode('ascii', 'ignore') + if len(value) == 0: + return '' + return { 'environment': "--env=%s" % value, # 'image': value, |