can we externalize pivotal repository path in java buildpack??


Lingesh Mouleeshwaran
 

Hi Cloudfoundry ,

In java-buildpack ,*https://download.run.pivotal.io
<https://download.run.pivotal.io> *URL is used for
default_repository_root for all binaries , but this URL may not be
accessible or very slow in china network. Please can somebody suggest like
how can we externalize this repository path so that one buildpack can
switch to multiple repositories.


Regards,
Lingesh M


DHR
 

You could change the config/repository.yml to point to a DNS name on your network. Then build out one or more local repositories on your network using the Java-buildpack-dependency-builder: https://github.com/cloudfoundry/java-buildpack-dependency-builder

And then alias that DNS onto your server(s).

On 24 May 2016, at 18:25, Lingesh Mouleeshwaran <lingeshmouleeshwaran(a)gmail.com> wrote:

Hi Cloudfoundry ,

In java-buildpack ,https://download.run.pivotal.io URL is used for
default_repository_root for all binaries , but this URL may not be accessible or very slow in china network. Please can somebody suggest like how can we externalize this repository path so that one buildpack can switch to multiple repositories.


Regards,
Lingesh M


Lingesh Mouleeshwaran
 

Thanks a lot DHR team.. Let us try out this approach .

Regards
Lingesh M

On Tue, May 24, 2016 at 11:25 PM, DHR <lists(a)dhrapson.com> wrote:

You could change the config/repository.yml to point to a DNS name on your
network. Then build out one or more local repositories on your network
using the Java-buildpack-dependency-builder:
https://github.com/cloudfoundry/java-buildpack-dependency-builder

And then alias that DNS onto your server(s).

On 24 May 2016, at 18:25, Lingesh Mouleeshwaran <
lingeshmouleeshwaran(a)gmail.com> wrote:

Hi Cloudfoundry ,

In java-buildpack ,*https://download.run.pivotal.io
<https://download.run.pivotal.io> *URL is used for
default_repository_root for all binaries , but this URL may not be
accessible or very slow in china network. Please can somebody suggest like
how can we externalize this repository path so that one buildpack can
switch to multiple repositories.


Regards,
Lingesh M