Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: validating buildpacks: buildpack paketo-buildpacks/nginx@0.15.3 does not support stack io.buildpacks.stacks.jammy.tiny #564

Closed
karlos84-sudo opened this issue Jul 21, 2023 · 1 comment

Comments

@karlos84-sudo
Copy link

I'm creating a builder image to use paketo builder tiny stack, but I have this error:
ERROR: validating buildpacks: buildpack paketo-buildpacks/nginx@0.15.3 does not support stack io.buildpacks.stacks.jammy.tiny

Expected Behavior

It should to allow create builder image.

Current Behavior

It is giving this error:
ERROR: validating buildpacks: buildpack paketo-buildpacks/nginx@0.15.3 does not support stack io.buildpacks.stacks.jammy.tiny

Possible Solution

I think in the tiny jammy stack it should be added libraries or packages to support buildpack nginx@0.15.3

Steps to Reproduce

  1. Use https://github.com/paketo-buildpacks/builder-jammy-tiny/blob/main/builder.toml
  2. Add into of builder.toml
    [[buildpacks]]
    uri = "docker://gcr.io/paketo-buildpacks/nginx:0.15.3"
    version = "0.15.3"
    An when you want to create an own builder with pack cli, it should can to create this new builder custom, with the command:
    pack builder create custom_tiny_jammy --config ./builder.toml

Motivations

I want to create an custom builder image using paketo jammy tiny stach with Nginx 0.15.3

@arjun024
Copy link
Member

arjun024 commented Jul 21, 2023

Hi @karlos84-sudo, thanks for creating the issue.

For a blocker why this buildpack can't run on the tiny stack, I can think of one example. NGINX is built with pcre support which is not available on tiny.

As to if libraries should be added to tiny to support nginx buildpack, I don't know if that will defeat the purpose of the tiny stack. Anyway that's a major discussion and needs broader community consensus, especially from the Stacks maintainer group. If you believe tiny stack should include the libraries, I'd advise you to figure out what libraries are missing, and then propose an RFC for discussion.

I'm closing this issue, but feel free to re-open it for any further discussion.

Edit: See similar issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants