You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to have network independent build of Docker images on CI of my company.
Please provide a config key to set base URL for JDK downloading.
What did you expect to happen?
There should be a way to specify base URL to download JDK from a server inside the company. I want to have all dependencies cached to be able to build apps even if Amazon services are offline. Maven libraries are cached inside my company using Maven server that caches every library I use in apps.
Extract the attached project
Run ./gradlew bootBuildImage
What was the actual behavior? Please provide log output, if possible.
The build pack always downloads JDK from https://corretto.aws/downloads/ and JVMKill from https://github.com/cloudfoundry/jvmkill/:
[creator] Corretto JDK 11.0.12: Contributing to layer
[creator] Downloading from https://corretto.aws/downloads/resources/11.0.12.7.1/amazon-corretto-11.0.12.7.1-linux-x64.tar.gz
[creator] Verifying checksum
[creator] Expanding to /layers/paketo-buildpacks_amazon-corretto/jdk
[creator] JVMKill Agent 1.16.0: Contributing to layer
[creator] Downloading from https://github.com/cloudfoundry/jvmkill/releases/download/v1.16.0.RELEASE/jvmkill-1.16.0-RELEASE.so
[creator] Verifying checksum
[creator] Copying to /layers/paketo-buildpacks_amazon-corretto/jvmkill
Build Configuration
What platform (pack, kpack, tekton buildpacks plugin, etc.) are you
using? Please include a version.
Spring Boot 2.5 BootBuildImage Gradle task.
What buildpacks are you using? Please include versions.
What builder are you using? If custom, can you provide the output from pack inspect-builder <builder>?
gcr.io/paketo-buildpacks/builder:base
Can you provide a sample app or relevant configuration (buildpack.yml, nginx.conf, etc.)?
Checklist
I have included log output.
I have included steps for reproduction.
The text was updated successfully, but these errors were encountered:
jreznot
changed the title
Provide ability to use custom URL for JDK download
Provide ability to use custom URL for JDK and JVMKill download
Aug 5, 2021
Please do let me know if you have any feedback on this process. We have been having some discussions about potentially making some changes. At the moment, it can be painful to remap a log of dependencies. In addition, you can only remap dependencies that exist in buildpack.toml, you cannot change versions. If you're hitting any limits with the existing support, feel free to reach out here or in a new issue. Thanks!
What happened?
I want to have network independent build of Docker images on CI of my company.
Please provide a config key to set base URL for JDK downloading.
There should be a way to specify base URL to download JDK from a server inside the company. I want to have all dependencies cached to be able to build apps even if Amazon services are offline. Maven libraries are cached inside my company using Maven server that caches every library I use in apps.
./gradlew bootBuildImage
The build pack always downloads JDK from
https://corretto.aws/downloads/
andJVMKill
fromhttps://github.com/cloudfoundry/jvmkill/
:Build Configuration
pack
,kpack
,tekton
buildpacks plugin, etc.) are youusing? Please include a version.
Spring Boot 2.5 BootBuildImage Gradle task.
pack inspect-builder <builder>
?buildpack.yml
,nginx.conf
, etc.)?Checklist
The text was updated successfully, but these errors were encountered: