aboutsummaryrefslogtreecommitdiffstats
path: root/docker/docker-toool
diff options
context:
space:
mode:
Diffstat (limited to 'docker/docker-toool')
-rwxr-xr-xdocker/docker-toool3
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,