How to download jdk,jre from private repo, how to use my own maven settings.xml
Sunny-001 opened this issue · 2 comments
Sunny-001 commented
Hi team.
when use pack cli
, i can download jdk, jre from our private repo, the commands like this:
pack build ruoyi-admin:3.2.6 \
--volume /root/bellsoft-jdk-config:/platform/bindings/bellsoft-jdk-config \
--volume /root/java-maven-binding:/platform/bindings/my-maven-settings \
--env BP_MAVEN_BUILT_ARTIFACT=ruoyi-admin/target/*.jar \
--env BP_JVM_VERSION=8.0.312 \
--pull-policy if-not-present \
--path /data/build-package-sample/buildpack-test/RuoYi-Vue \
--volume /root/maven_repo:/home/cnb/.m2:rw \
--builder paketobuildpacks/builder:base
but in tekton, what should i do.
AidanDelaney commented
It looks like the paketo folk document bindings to provide settings.xml. I've only ever used the basic functions in Tekton, but it looks like they have some good docs on configuring mount volumes https://tekton.dev/docs/pipelines/tasks/#mounting-multiple-volumes. Does this help you?
sambhav commented
Closing as this is unrelated to the buildpacks.io project. Please reach out to the paketo team at https://paketo.io for help.