Cloudfoundry: use an old buildpack version

Cloundfoundry recently upgraded its Java buildpack to version 2.5 (including java 8 and tomcat 8). I would still like to use version 2.4, since my application has not yet been upgraded to java 8. What is the easiest way to do this?

I can click the application using

cf push app -b https://github.com/cloudfoundry/java-buildpack

but how can I indicate the use of version 2.4 ( https://github.com/cloudfoundry/java-buildpack/releases/tag/v2.4 )? Specifying the tag url does not seem to work.

+4
source share
1 answer

To specify a branch with "cf push -b", put a "#" in front of the branch name. In your example you should use

$ cf push app -b https://github.com/cloudfoundry/java-buildpack#v2.4

, buildpack "detatched HEAD", .

Java 8 JRE, JDK. Java 8 JRE?

URL- - /:: java-buildpack # tags/v2.4 → java-buildpack # v2.4

+8

All Articles