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

[devshell] Prevent the protobuf crate binary from being mount-masked. #467

Merged
merged 1 commit into from
Apr 29, 2016

Conversation

fnichol
Copy link
Collaborator

@fnichol fnichol commented Apr 28, 2016

This change fixes an issue we had in the devshell when trying to build
all components. The cargo install protobuf command in the Dockerfile
honors the $CARGO_HOME environment variable override (as it should),
but that directory get overlay-mounted whenever a container is started
up which means that our lovingly compiled binaries get masked over.

Instead, we'll install this crate into the default location (under
root's home) and add that path to the environment's $PATH.

Signed-off-by: Fletcher Nichol [email protected]

This change fixes an issue we had in the devshell when trying to build
all components. The `cargo install protobuf` command in the Dockerfile
honors the `$CARGO_HOME` environment variable override (as it should),
but that directory get overlay-mounted whenever a container is started
up which means that our lovingly compiled binaries get masked over.

Instead, we'll install this crate into the default location (under
root's home) and add that path to the environment's `$PATH`.

Signed-off-by: Fletcher Nichol <[email protected]>
@thesentinels
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @reset, @metadave, @jtimberman and @adamhjk to be potential reviewers

@adamhjk
Copy link
Contributor

adamhjk commented Apr 29, 2016

gif-keyboard-10621099363870766595

@thesentinels r+

@thesentinels
Copy link
Contributor

📌 Commit 0922e14 has been approved by adamhjk

@thesentinels
Copy link
Contributor

⌛ Testing commit 0922e14 with merge 5aba4cc...

thesentinels pushed a commit that referenced this pull request Apr 29, 2016
This change fixes an issue we had in the devshell when trying to build
all components. The `cargo install protobuf` command in the Dockerfile
honors the `$CARGO_HOME` environment variable override (as it should),
but that directory get overlay-mounted whenever a container is started
up which means that our lovingly compiled binaries get masked over.

Instead, we'll install this crate into the default location (under
root's home) and add that path to the environment's `$PATH`.

Signed-off-by: Fletcher Nichol <[email protected]>

Pull request: #467
Approved by: adamhjk
@thesentinels
Copy link
Contributor

☀️ Test successful - travis

@thesentinels thesentinels merged commit 0922e14 into master Apr 29, 2016
@adamhjk adamhjk deleted the fnichol/devshell-rust-protobuf branch April 29, 2016 02:53
smith pushed a commit that referenced this pull request May 2, 2016
This change fixes an issue we had in the devshell when trying to build
all components. The `cargo install protobuf` command in the Dockerfile
honors the `$CARGO_HOME` environment variable override (as it should),
but that directory get overlay-mounted whenever a container is started
up which means that our lovingly compiled binaries get masked over.

Instead, we'll install this crate into the default location (under
root's home) and add that path to the environment's `$PATH`.

Signed-off-by: Fletcher Nichol <[email protected]>

Pull request: #467
Approved by: adamhjk
jtimberman pushed a commit that referenced this pull request Jun 12, 2016
This change fixes an issue we had in the devshell when trying to build
all components. The `cargo install protobuf` command in the Dockerfile
honors the `$CARGO_HOME` environment variable override (as it should),
but that directory get overlay-mounted whenever a container is started
up which means that our lovingly compiled binaries get masked over.

Instead, we'll install this crate into the default location (under
root's home) and add that path to the environment's `$PATH`.

Signed-off-by: Fletcher Nichol <[email protected]>

Pull request: #467
Approved by: adamhjk
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

Successfully merging this pull request may close these issues.

3 participants