Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set env var for HOME #24

Open
ensonic opened this issue Nov 2, 2017 · 0 comments
Open

set env var for HOME #24

ensonic opened this issue Nov 2, 2017 · 0 comments

Comments

@ensonic
Copy link
Contributor

ensonic commented Nov 2, 2017

Right now I get:

docker exec -it dazel printenv
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=e8a036c516a4
BAZEL_VERSION=0.6.1
HOME=/root

I'd like to have this in my checked in tools/bazel.rc:

build --experimental_repository_cache=$HOME/.cache/bazel/repositories

For that $HOME would need to be mapped into the container via -e
https://github.com/nadirizr/dazel/blob/master/dazel.py#L315

Does that make sense? Would you accept such a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant