To fork the Buildpack and host your own binaries, then complete the following:
-
Fork the ibm-websphere-liberty-buildpack.
-
Clone the forked repository to your local machine.
-
Download the wlp-developers-runtime-8.5.5.3.jar from wasdev.net.
-
Download the latest IBM JRE for Linux from the developerWorks Java site. The download will be in an archive .bin format.
-
Copy the binaries to a location that the buildpack will be able to access via HTTP. For details see Repositories. For an example see Setting up your Web Server
-
Modify the code in
config/ibmjdk.yml
to point to the JRE. -
Modify the code in
config/liberty.yml
to point to Liberty. -
Commit and push the changes
-
You should now be able to deploy applications to your forked buildpack with the following command:
cf push <APP-NAME> -p <ARCHIVE> -b <URL to forked repository>