Increase robustness of bazel wrapper script and remove repository_cache

This allows the wrapper script to be called from anywhere.

The repo cache does not actually work as expected since it does not
cache most external dependencies we care about, and is not always a
valid command line argument, so we would either have to specify it
in .bazelrc (breaking non-standard dev setups), or specify it manually.

Test Plan: Ran the bazel wrapper from my home directory, got expected output.

X-Origin-Diff: phab/D204
GitOrigin-RevId: 74d09ba24fd84ba0dd6e1ba282995c452546eb25
2 files changed
tree: af2403c83ae163f1f512721b1c27643d21ab39b2
  1. build/
  2. cmd/
  3. internal/
  4. pkg/
  5. scripts/
  6. .bazelignore
  7. .bazelrc
  8. .bazelversion
  9. BUILD
  10. README.md
  11. WORKSPACE
README.md

Smalltown Operating System

Run build

The build uses a Fedora 30 base image with a set of dependencies. Guide has been tested on a Fedora 30 host, with latest rW deployed.

Build the base image:

podman build -t smalltown-builder .

Launch the VM:

scripts/bin/bazel run scripts:launch

Exit qemu using the monitor console: Ctrl-A c quit.