Fix container build after Ubuntu 21.10 reached EoL

Ubuntu archived short-term release 21.10 and moved it to the
old-releases.ubuntu.com site. We still have to use it because
older Docker versions are affected by https://github.com/moby/moby/pull/42681

To fix the build switch apt sources to old-releases before installing
packages.

Change-Id: I0432cd0002b4e955399539a5b0ddaba21b4535cc
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/36309
Reviewed-by: Arnav Kansal <rnv@google.com>
Tested-by: Oleksandr Tymoshenko <ovt@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
1 file changed
tree: c44cfb0073e874bb54dcec0783d0b328ee16deec
  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.