openshift-s2i / s2i-rust

Source-to-Image template for Rust applications
https://www.rust-lang.org/
Other
7 stars 13 forks source link

Support proxy setting during assembly #4

Closed nak3 closed 6 years ago

nak3 commented 6 years ago

As a s2i rust user, we would like to setup proxy for cargo easily.

So, this patch introduces PROXY environment variable and adds proxy setting*1 to $HOME/.cargo/config during assembly. This makes it possible to build behind proxy.

*1 http://doc.crates.io/config.html#configuration-keys

nak3 commented 6 years ago

cc @kargakis