Change pip installation to use requirements.txt with hashes

Manifest files like requirements.txt are required for all python
dependencies to ensure accurate vulnerability scanning among other
things. The main steps for developing the requirments.txt is to download pip-tools, make a file called requirements.in, type the package you are trying to install in there, run pip-compile on that file and then a requirement.txt file is auto created with dependencies.

BUG=b/242563296
TEST=https://console.cloud.google.com/cloud-build/builds/9184e261-b74d-4fe9-809b-4ebbe1cf7eff?project=228075978874
RELEASE_NOTES=None

Change-Id: Iee0e28fa07198eea1286c46c11ed49a7583419c6
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/36829
Reviewed-by: Vaibhav Rustagi <vaibhavrustagi@google.com>
Tested-by: Vaibhav Rustagi <vaibhavrustagi@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
2 files changed
tree: 7c2e2e474af422eb6cd4311a1c46013ac7172069
  1. release/
  2. src/
  3. testing/
  4. .gitignore
  5. BUILD.bazel
  6. cloudbuild.yaml
  7. CONTRIBUTING.md
  8. deps.bzl
  9. go.mod
  10. go.sum
  11. LICENSE
  12. README.md
  13. run_tests.sh
  14. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.