Skip to content

Offlinizing java buildpack does not support cflinuxfs4 #986

@AnnaAAL

Description

@AnnaAAL

We are offlinizing the java_buildpack.
We've noticed that when the packaging command for the offline buildpack is executed (as it says in the README):

bundle exec rake clean package OFFLINE=true PINNED=true

In the output it's visible that it's pointing to bionic instead of jammy.

However, on cf push we get the following error:
ERROR Finalize failed with exception #<RuntimeError: Jvmkill Agent error: Unable to find cached file for https://java-buildpack.cloudfoundry.org/jvmkill/jammy/x86_64/index.yml>
Jvmkill Agent error: Unable to find cached file for https://java-buildpack.cloudfoundry.org/jvmkill/jammy/x86_64/index.yml
Failed to compile droplet: Failed to run finalize script: exit status 1

We've tried locally to edit package.rb line76 with jammy, i.e. PLATFORMS = %w[bionic jammy].freeze and it works.

Could you, please review our proposal and adjust it/add it to the buildpack, so we can use it offlinized?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions