fix: hide root pip warning on Linux (#1304)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
@@ -157,6 +157,7 @@ def build_in_container(
|
|||||||
env = container.get_environment()
|
env = container.get_environment()
|
||||||
env["PATH"] = f'/opt/python/cp38-cp38/bin:{env["PATH"]}'
|
env["PATH"] = f'/opt/python/cp38-cp38/bin:{env["PATH"]}'
|
||||||
env["PIP_DISABLE_PIP_VERSION_CHECK"] = "1"
|
env["PIP_DISABLE_PIP_VERSION_CHECK"] = "1"
|
||||||
|
env["PIP_ROOT_USER_ACTION"] = "ignore"
|
||||||
env = before_all_options.environment.as_dictionary(
|
env = before_all_options.environment.as_dictionary(
|
||||||
env, executor=container.environment_executor
|
env, executor=container.environment_executor
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user