Exposition des variables http_proxy* dans le conteneur
This commit is contained in:
parent
97df663236
commit
24dbf2fe47
4
package
4
package
|
@ -119,6 +119,10 @@ if __name__ == "__main__":
|
||||||
"--volume=tamarin-hooks,kind=host,source={:s}".format(tamarin.get_hooks_dir()),
|
"--volume=tamarin-hooks,kind=host,source={:s}".format(tamarin.get_hooks_dir()),
|
||||||
"--volume=tamarin-lib,kind=host,source={:s}".format(tamarin.get_lib_dir()),
|
"--volume=tamarin-lib,kind=host,source={:s}".format(tamarin.get_lib_dir()),
|
||||||
"--volume=tamarin-profiles,kind=host,source={:s}".format(tamarin.get_profiles_dir()),
|
"--volume=tamarin-profiles,kind=host,source={:s}".format(tamarin.get_profiles_dir()),
|
||||||
|
"--set-env=HTTP_PROXY={:s}".format(os.environ['HTTP_PROXY']),
|
||||||
|
"--set-env=HTTPS_PROXY={:s}".format(os.environ['HTTP_PROXY']),
|
||||||
|
"--set-env=http_proxy={:s}".format(os.environ['http_proxy']),
|
||||||
|
"--set-env=https_proxy={:s}".format(os.environ['https_proxy']),
|
||||||
#"--interactive", "--exec", "/bin/bash"
|
#"--interactive", "--exec", "/bin/bash"
|
||||||
"--exec", "/usr/bin/python3", "--", "/tamarin/lib/build.py", args.profile, args.architecture
|
"--exec", "/usr/bin/python3", "--", "/tamarin/lib/build.py", args.profile, args.architecture
|
||||||
], as_root=True)
|
], as_root=True)
|
||||||
|
|
Loading…
Reference in New Issue