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