Build docker baseimage on demand
Build docker baseimage on demand

There may be occasions where certain platforms lag behind others w.r.t.
publishing docker baseimages to dockerhub.  Today, resolution of this
condition is at best a manual process.  Now that we have a formal build
system in place, lets make this a little more intelligent.

What this patch does is it treats dockerhub as an optimization, a form
of build-caching.  However, if for whatever reason, an artifact is not
found on dockerhub, we will attempt to build the base image locally.

This is, of course, slower, but it is probably more graceful than
failing the build outright. 

Signed-off-by: Greg Haskins <640d9fe47775e6723f0355b7315e38f7d98d3539@gmail.com>

hyperledger-archives/fabric,openblockchain/obc-peer,andresgaragiola/fabric,angrbrd/fabric,popldo/fabric,srderson/fabric,jjjjibm/fabric,gromeroar/fabric,srderson/fabric,adecaro/fabric,srderson/fabric,bburgdave/fabric,murali-katipalli-dtcc/fabric,ariccy/fabric,murali-katipalli-dtcc/fabric,JonathanLevi/fabric,isghe/obc-peer,isghe/obc-peer,andresgaragiola/fabric,binhn/obc-peer,tuand27613/fabric,angrbrd/fabric,isghe/obc-peer,bren3582/fabric,jjjjibm/fabric,tuand27613/obc-peer,andresgaragiola/fabric,popldo/fabric,JonathanLevi/fabric,binhn/obc-peer,jjjjibm/fabric,ariccy/fabric,andresgaragiola/fabric,angrbrd/fabric,gromeroar/fabric,hyperledger-archives/fabric,tuand27613/fabric,ariccy/fabric,isghe/obc-peer,adecaro/fabric,ariccy/fabric,adecaro/fabric,ahuachen/fabric,andresgaragiola/fabric,adecaro/fabric,gennadylaventman/fabric,tuand27613/obc-peer,gennadylaventman/fabric,ahuachen/fabric,bburgdave/fabric,itp4IBM/fabric,JonathanLevi/fabric,jjjjibm/fabric,bren3582/fabric,JonathanLevi/fabric,ahuachen/fabric,murali-katipalli-dtcc/fabric,ahuachen/fabric,hyperledger-archives/fabric,bren3582/fabric,srderson/fabric,angrbrd/fabric,srderson/fabric,ahuachen/fabric,jjjjibm/fabric,angrbrd/fabric,murali-katipalli-dtcc/fabric,popldo/fabric,JonathanLevi/fabric,adecaro/fabric,gromeroar/fabric,ahuachen/fabric,ariccy/fabric,JonathanLevi/fabric,popldo/fabric,murali-katipalli-dtcc/fabric,murali-katipalli-dtcc/fabric,srderson/fabric,gennadylaventman/fabric,bburgdave/fabric,itp4IBM/fabric,popldo/fabric,hyperledger-archives/fabric,adecaro/fabric,bburgdave/fabric,srderson/fabric,gennadylaventman/fabric,gennadylaventman/fabric,bburgdave/fabric,ahuachen/fabric,angrbrd/fabric,itp4IBM/fabric,adecaro/fabric,gromeroar/fabric,itp4IBM/fabric,tuand27613/fabric,tuand27613/fabric,andresgaragiola/fabric,bren3582/fabric,itp4IBM/fabric,bren3582/fabric,openblockchain/obc-peer,tuand27613/fabric,openblockchain/obc-peer,gromeroar/fabric,hyperledger-archives/fabric,gennadylaventman/fabric,hyperledger-archives/fabric,JonathanLevi/fabric,tuand27613/fabric,bren3582/fabric,gromeroar/fabric,itp4IBM/fabric,tuand27613/fabric,gromeroar/fabric,popldo/fabric,ariccy/fabric,hyperledger-archives/fabric,popldo/fabric,jjjjibm/fabric,bren3582/fabric,murali-katipalli-dtcc/fabric,tuand27613/obc-peer,gennadylaventman/fabric,binhn/obc-peer,isghe/obc-peer,jjjjibm/fabric,ariccy/fabric,andresgaragiola/fabric,angrbrd/fabric,itp4IBM/fabric