Giter Club home page Giter Club logo

Comments (3)

scottfrederick avatar scottfrederick commented on March 29, 2024

The [creator] part of the log output indicates that the problem you're having is in the Cloud Native Builder container that is running the buildpacks. Assuming you're using the default Paketo builder, there are a few things you can try to address the problem.

If getting a custom certificate loaded in the builder container can solve the problem, then you might be able to use the bindings feature of the Spring Boot plugin to mount a certificate as documented by the Paketo ca-certificates buildpack.

If configuring the builder container to use the corporate proxy helps, there's an example of that configuration in the Spring Boot plugin documentation.

So is there a way to get this from artifactory?

The Paketo Bellsoft Liberica buildpack documents a way to provide an alternate download location for the artifacts. This would give you full control over the download location, but probably requires the most work on your part to maintain your own artifcact repository.

I think more documentation is needed here.

The Spring Boot plugins provide an integration to CNB buildpacks. The Paketo builder and buildpacks are used by default, but users can override that to use a builder and buildpacks of their choice. The Spring Boot documentation can't cover every configuration scenario, and we don't want to make the documentation specific to Paketo or duplicate the documentation provided by Paketo and other CNB providers. This means users sometimes need to consult both the Spring Boot docs and their CNB builder docs to solve specific problems.

If there's something specific that you think we could add to the Spring Boot documentation that isn't Paketo-specific, we can take a look at that.

from spring-boot.

xenoterracide avatar xenoterracide commented on March 29, 2024

If there's something specific that you think we could add to the Spring Boot documentation that isn't Paketo-specific, we can take a look at that.

I think perhaps there are a couple of scenarios that could be improved... but I'm not sure they wouldn't be paketo specific. I'm just thinking that the "Corporate Proxy+Artifactory(reverse proxy/mirror)" scenario for using this might be so common that it might be worth it.

Right now I think I may just write the quick dockerfile because I was hoping for something super easy. Realistically I'm wondering if for local all I need to do is get my proxy variable in there, but, I hadn't seen anything for that.

from spring-boot.

scottfrederick avatar scottfrederick commented on March 29, 2024

The way that buildpacks choose to download dependencies, and any mechanism they might provide for navigating proxies or overrding the download location, are out of Spring Boot's control. This information would need to be documented by the buildpack provider. If you raise an issue with Paketo or another CNB provider, feel free to drop a link in a comment here. I'm going to close this for now, but we can assess linking to external documentation if something is created.

from spring-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.