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

Add support for the tiny stack #283

Open
3 tasks done
voor opened this issue Aug 20, 2021 · 3 comments
Open
3 tasks done

Add support for the tiny stack #283

voor opened this issue Aug 20, 2021 · 3 comments

Comments

@voor
Copy link

voor commented Aug 20, 2021

What happened?

  • What were you attempting to do?

I want to use the tiny stack with the nginx buildpack, because I want to have a very minimalist image.

  • What did you expect to happen?

nginx would happily run on tiny.

  • What was the actual behavior? Please provide log output, if possible.

'validating buildpack paketo-buildpacks/[email protected]: stack io.paketo.stacks.tiny is not supported'

Build Configuration

apiVersion: kpack.io/v1alpha1
kind: ClusterBuilder
metadata:
  name: node-script-builder
spec:
  order:
  - group:
    - id: paketo-buildpacks/nodejs
    - id: paketo-buildpacks/nginx
    - id: source-removal
  serviceAccountRef:
    name: default
    namespace: default
  stack:
    kind: ClusterStack
    name: tiny #! Make sure tiny is properly loaded from the dependency syncer.
  store:
    kind: ClusterStore
    name: node-cluster-store
  tag: #@ "{}/node-script-builder:0.0.1".format(data.values.docker_repository)
  • What platform (pack, kpack, tekton buildpacks plugin, etc.) are you
    using? Please include a version.

kpack released with Tanzu Build Service 1.2.2

  • What buildpacks are you using? Please include versions.

gcr.io/paketo-buildpacks/nginx:0.3.1

  • What builder are you using? If custom, can you provide the output from pack inspect-builder <builder>?

  • Can you provide a sample app or relevant configuration (buildpack.yml,
    nginx.conf, etc.)?

Checklist

  • I have included log output.
  • The log output includes an error message.
  • I have included steps for reproduction.
@fg-j
Copy link

fg-j commented May 23, 2022

Hey @paketo-buildpacks/web-servers-maintainers do we have a sense of whether the Tiny build and run images contain the necessary packages for NGINX to run? If not, which are missing?

@thitch97 thitch97 self-assigned this May 24, 2022
@thitch97
Copy link
Contributor

thitch97 commented May 24, 2022

@fg-j It seems the only missing package is libpcre3. It is the only one listed here that we don't currently include in tiny and I was able to build and run an nginx app after adding it to the list of packages.

@thitch97 thitch97 removed their assignment May 24, 2022
@thitch97
Copy link
Contributor

I'm willing to submit a PR to enable this support, but with the perceived low priority of this work, the stacks work already in flight and this ongoing investigation into the nginx dependency itself, it might make sense to hold off until things are more stable.

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

3 participants