Correction init docker_args

This commit is contained in:
wpetit 2017-07-11 12:07:00 +02:00
parent 50f578216b
commit 16b0ef996d
1 changed files with 3 additions and 1 deletions

View File

@ -86,12 +86,14 @@ if __name__ == "__main__":
kwargs = dict()
kwargs['debug'] = args.debug
docker_args = []
# Append custom arguments
if len(args.override_run_flags) > 0:
docker_args += args.override_run_flags
else:
# rkt run arguments
docker_args = [
docker_args += [
"run",
"--rm",
"-v", "{:s}:/src:ro".format(project_dir),