[FAB-1411] Pull the zookeeper tarball by curl
[FAB-1411] Pull the zookeeper tarball by curl

Pull the zookeeper tarball by using curl instead of wget, so it can
understand the "socks*://" style proxy protocol prefixes, yet support
wget's "http*://" scheme.

Not exactly the FAB-1411 but closely relate to.

Extract the archive using a pipeline, which avoid leaving the allocated
space of the archive as dark matter in the image's layers (and reduce
code length BTW).

Change-Id: I2cf8f04f7ba98c99ceeb2befe8d92c78b8b9e332
Signed-off-by: Ray Chen <7f525154e857f3d57a641a83dddc584f42addc6a@hyperchain.cn>

binhn/fabric,ckeyer/fabric,magg/fabric,mqshen/fabric,thakkarparth007/fabric,manish-sethi/fabric,jimthematrix/fabric,Ryan--Yang/fabric,mqshen/fabric,ckeyer/fabric,blockc/fabric,king3000/fabric,mffrench/fabric,thakkarparth007/fabric,lukehuangch/fabric,mffrench/fabric,kchristidis/fabric,tkuhrt/fabric,rameshthoomu/fabric,kchristidis/fabric,bmos299/fabric,king3000/fabric,ckeyer/fabric,lukehuangch/fabric,Ryan--Yang/fabric,lukehuangch/fabric,phariel/fabric,mqshen/fabric,kchristidis/fabric,blockc/fabric,tkuhrt/fabric,thakkarparth007/fabric,cophey/fabric,ibmmark/fabric,mffrench/fabric,chrisguoado/fabric,ibmmark/fabric,chrisguoado/fabric,chrisguoado/fabric,kchristidis/fabric,xixuejia/fabric,mqshen/fabric,manish-sethi/fabric-sidedb,chrisguoado/fabric,ibmmark/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,thakkarparth007/fabric,blockc/fabric,stemlending/fabric,Ryan--Yang/fabric,lukehuangch/fabric,kchristidis/fabric,rameshthoomu/fabric,rameshthoomu/fabric,magg/fabric,binhn/fabric,king3000/fabric,cophey/fabric,blockc/fabric,cophey/fabric,mffrench/fabric,bmos299/fabric,mffrench/fabric,tkuhrt/fabric,muralisrini/fabric,magg/fabric,tkuhrt/fabric,rameshthoomu/fabric,blockc/fabric,king3000/fabric,thakkarparth007/fabric,phariel/fabric,chrisguoado/fabric,stemlending/fabric,manish-sethi/fabric,Ryan--Yang/fabric,manish-sethi/fabric-sidedb,magg/fabric,stemlending/fabric,bmos299/fabric,phariel/fabric,ckeyer/fabric,lukehuangch/fabric,kchristidis/fabric,manish-sethi/fabric-sidedb,Ryan--Yang/fabric,ckeyer/fabric,thakkarparth007/fabric,tkuhrt/fabric,thakkarparth007/fabric,hyperledger/fabric,cophey/fabric,mqshen/fabric,rameshthoomu/fabric,blockc/fabric,jimthematrix/fabric,mqshen/fabric,ckeyer/fabric,Ryan--Yang/fabric,bmos299/fabric,muralisrini/fabric,king3000/fabric,king3000/fabric,Ryan--Yang/fabric,cophey/fabric,magg/fabric,xixuejia/fabric,mqshen/fabric,lukehuangch/fabric,bmos299/fabric,ibmmark/fabric,phariel/fabric,magg/fabric,binhn/fabric,magg/fabric,phariel/fabric,tkuhrt/fabric,manish-sethi/fabric-sidedb,lukehuangch/fabric,tkuhrt/fabric,kchristidis/fabric,ibmmark/fabric,stemlending/fabric,phariel/fabric,rameshthoomu/fabric,ibmmark/fabric,phariel/fabric,bmos299/fabric,manish-sethi/fabric-sidedb,mffrench/fabric,mffrench/fabric,hyperledger/fabric,bmos299/fabric,cophey/fabric,rameshthoomu/fabric,cophey/fabric,ckeyer/fabric,xixuejia/fabric,manish-sethi/fabric-sidedb,chrisguoado/fabric,ibmmark/fabric,king3000/fabric,blockc/fabric,chrisguoado/fabric