Serge Bazanski | e7bb94c | 2021-07-02 17:11:58 +0200 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
2 | set -euo pipefail | ||||
3 | |||||
4 | # ibazel doesn't take a --output_user_root, set it using the per-user .bazelrc inside the container. | ||||
5 | podman exec -i monogon-dev bash -c "cat - > /user/.bazelrc" <<EOF | ||||
6 | startup --output_user_root ${HOME}/.cache/bazel-monogon | ||||
7 | EOF | ||||
8 | |||||
9 | exec podman exec -it monogon-dev ibazel "$@" |