paketo

Cloud Native Buildpacks/Paketo with Java/Spring Boot: How to configure different JDK download uri (e.g. no access to github.com)

爷,独闯天下 提交于 2021-01-20 12:18:05
问题 Having a Spring Boot app I tried to build it using the spring-boot-maven-plugin goal mvn spring-boot:build-image . But the build fails downloading the bellsoft-jre11.0.9.1+1-linux-amd64.tar.gz from github.com , since I don't have access to it from my build pipeline: ... Paketo BellSoft Liberica Buildpack 5.2.1 https://github.com/paketo-buildpacks/bellsoft-liberica Build Configuration: $BP_JVM_VERSION 11.0.9 the Java version Launch Configuration: $BPL_JVM_HEAD_ROOM 0 the headroom in memory

ERROR: failed to launch: determine start command: when there is no default process a command is required

不羁的心 提交于 2020-12-15 01:07:49
问题 The bounty expires in 4 days . Answers to this question are eligible for a +50 reputation bounty. Stuck wants to draw more attention to this question. After upgrading spring boot to 2.4 we cannot run the final docker image that we create via this script: script: - echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY - apk add openjdk11 - ./gradlew bootBuildImage --imageName=$DOCKER_IMAGE_INTERMEDIATE - docker build -f ./docker/Dockerfile --build-arg base_image=

ERROR: failed to launch: determine start command: when there is no default process a command is required

﹥>﹥吖頭↗ 提交于 2020-12-15 01:05:15
问题 The bounty expires in 4 days . Answers to this question are eligible for a +50 reputation bounty. Stuck wants to draw more attention to this question. After upgrading spring boot to 2.4 we cannot run the final docker image that we create via this script: script: - echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY - apk add openjdk11 - ./gradlew bootBuildImage --imageName=$DOCKER_IMAGE_INTERMEDIATE - docker build -f ./docker/Dockerfile --build-arg base_image=

ERROR: failed to launch: determine start command: when there is no default process a command is required

这一生的挚爱 提交于 2020-12-15 01:04:06
问题 The bounty expires in 4 days . Answers to this question are eligible for a +50 reputation bounty. Stuck wants to draw more attention to this question. After upgrading spring boot to 2.4 we cannot run the final docker image that we create via this script: script: - echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY - apk add openjdk11 - ./gradlew bootBuildImage --imageName=$DOCKER_IMAGE_INTERMEDIATE - docker build -f ./docker/Dockerfile --build-arg base_image=

ERROR: failed to launch: determine start command: when there is no default process a command is required

最后都变了- 提交于 2020-12-15 01:03:39
问题 The bounty expires in 4 days . Answers to this question are eligible for a +50 reputation bounty. Stuck wants to draw more attention to this question. After upgrading spring boot to 2.4 we cannot run the final docker image that we create via this script: script: - echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY - apk add openjdk11 - ./gradlew bootBuildImage --imageName=$DOCKER_IMAGE_INTERMEDIATE - docker build -f ./docker/Dockerfile --build-arg base_image=

ERROR: failed to launch: determine start command: when there is no default process a command is required

雨燕双飞 提交于 2020-12-15 01:03:16
问题 The bounty expires in 4 days . Answers to this question are eligible for a +50 reputation bounty. Stuck wants to draw more attention to this question. After upgrading spring boot to 2.4 we cannot run the final docker image that we create via this script: script: - echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY - apk add openjdk11 - ./gradlew bootBuildImage --imageName=$DOCKER_IMAGE_INTERMEDIATE - docker build -f ./docker/Dockerfile --build-arg base_image=