Correction init docker_args
This commit is contained in:
parent
50f578216b
commit
16b0ef996d
4
package
4
package
|
@ -86,12 +86,14 @@ if __name__ == "__main__":
|
||||||
kwargs = dict()
|
kwargs = dict()
|
||||||
kwargs['debug'] = args.debug
|
kwargs['debug'] = args.debug
|
||||||
|
|
||||||
|
docker_args = []
|
||||||
|
|
||||||
# Append custom arguments
|
# Append custom arguments
|
||||||
if len(args.override_run_flags) > 0:
|
if len(args.override_run_flags) > 0:
|
||||||
docker_args += args.override_run_flags
|
docker_args += args.override_run_flags
|
||||||
else:
|
else:
|
||||||
# rkt run arguments
|
# rkt run arguments
|
||||||
docker_args = [
|
docker_args += [
|
||||||
"run",
|
"run",
|
||||||
"--rm",
|
"--rm",
|
||||||
"-v", "{:s}:/src:ro".format(project_dir),
|
"-v", "{:s}:/src:ro".format(project_dir),
|
||||||
|
|
Loading…
Reference in New Issue