Lines Matching full:os
14 import os
36 DEVNULL = open(os.devnull, 'wb')
98 dest_dir = os.path.normpath("%s/%s" % (root_dir, sub_path))
100 os.makedirs(dest_dir)
105 dest_file = "%s/%s" % (dest_dir, name if name else os.path.basename(src))
150 _copy_with_mkdir(src, dest_dir, os.path.dirname(bin_dest))
157 so_path = os.path.dirname(l)
158 name = os.path.basename(l)
159 real_l = os.path.realpath(l)
175 binary = os.path.basename(executable)
178 if not os.path.exists(binfmt_entry):
203 df = os.path.join(os.path.dirname(__file__), "dockerfiles",
227 "TRAVIS" not in os.environ and
228 "GITLAB_CI" not in os.environ):
229 os.environ["DOCKER_BUILDKIT"] = "1"
318 uid = os.getuid()
364 uid = os.getuid()
464 docker_pre = os.path.splitext(args.dockerfile)[0]+".pre"
465 if os.path.exists(docker_pre):
467 rc = subprocess.call(os.path.realpath(docker_pre),
491 for k, v in os.environ.items()
560 so_path = os.path.dirname(l)
561 name = os.path.basename(l)
562 real_l = os.path.realpath(l)
572 uid = os.getuid()
649 cwd = os.getcwd()
666 os.path.basename(sys.argv[0]))