You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subprocess.run(cmd.replace('\ \n', ''), shell=True, check=True) # remove the line breaks that were added for readability
16
+
parser.add_argument('--name', type=str, default='', help='the name of the output container to build')
17
+
parser.add_argument('--base', type=str, default='', help='the base container to use at the beginning of the build chain (default: l4t-jetpack)')
18
+
parser.add_argument('--multi-stage', action='store_true', help='launch a multi-stage container build by chaining together the packages')
19
+
parser.add_argument('--build-flags', type=str, default='', help="extra flags to pass to 'docker build'")
20
+
parser.add_argument('--package-dirs', type=str, default='', help='additional package search directories (comma or colon-separated)')
21
+
parser.add_argument('--list-packages', action='store_true', help='show the list of packages that were found under the search directories')
22
+
parser.add_argument('--show-packages', action='store_true', help='show info about one or more packages (if none are specified, all will be listed')
23
+
parser.add_argument('--skip-packages', type=str, default='', help='disable certain packages/containers (filterable by wildcards, comma/colon-separated)')
24
+
parser.add_argument('--simulate', action='store_true', help='print out the build commands without actually building the containers')
25
+
parser.add_argument('--logs', type=str, default='', help='sets the directory to save container build logs to (default: jetson-containers/logs)')
98
26
99
-
base=container_name
100
-
101
-
102
-
103
-
if__name__=="__main__":
104
-
parser=argparse.ArgumentParser()
105
-
106
-
parser.add_argument('packages', type=str, nargs='*', default=[], help='packages or configs to build')
107
-
108
-
parser.add_argument('--name', type=str, default='', help='the name of the output container to build')
109
-
parser.add_argument('--base', type=str, default=get_l4t_base(), help='the base container image to use at the beginning of the build chain')
110
-
parser.add_argument('--build-flags', type=str, default='', help="extra flags to pass to 'docker build'")
0 commit comments