Skip to content

sphinx/Dockerfile: Actually update PATH so pre-commit can be used

pre-commit is not seen right now

As of the first install said to me the first time around [1] but i did not fully realize:

10:22:02 Successfully built pyyaml nodeenv
10:22:02 Installing collected packages: more-itertools, zipp, importlib-metadata, pyyaml, aspy.yaml, virtualenv, identify, nodeenv, cfgv, pre-commit
10:22:02   The script virtualenv is installed in '/home/jenkins/.local/bin' which is not on PATH.
10:22:02   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
10:22:02   The script identify-cli is installed in '/home/jenkins/.local/bin' which is not on PATH.
10:22:02   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
10:22:02   The script nodeenv is installed in '/home/jenkins/.local/bin' which is not on PATH.
10:22:02   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
10:22:02   The scripts pre-commit, pre-commit-validate-config and pre-commit-validate-manifest are installed in '/home/jenkins/.local/bin' which is not on PATH.
10:22:02   Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Migrated from D2361 (view on Phabricator)

Merge request reports