Giter Site home page Giter Site logo

Contract of "stack" is unclear about pack HOT 8 CLOSED

buildpacks avatar buildpacks commented on September 27, 2024
Contract of "stack" is unclear

from pack.

Comments (8)

sclevine avatar sclevine commented on September 27, 2024

The concept of a "stack" is defined here: https://github.com/buildpack/spec/blob/master/platform.md#stacks

A stack is a combination of a build-time base image and a runtime base image. We can't just use the tag names of those though, because they may live in different registries (including private registries), and it's important that the run image live in the registry that you're publishing to.

from pack.

nebhale avatar nebhale commented on September 27, 2024

Spec aside, do we have more humane documentation about what stacks are, scheduled in the backlog somewhere?

from pack.

ekcasey avatar ekcasey commented on September 27, 2024

@nebhale we recently scheduled work on the buildpack/pack README. I think that should help. If we explain the pack *-stack commands and the -s flag for pack create-builder it should be more obvious what a stack is and how it is used.

from pack.

nebhale avatar nebhale commented on September 27, 2024

Sounds good.

from pack.

dsyer avatar dsyer commented on September 27, 2024

We can't just use the tag names of those though, because they may live in different registries (including private registries), and it's important that the run image live in the registry that you're publishing to.

That information is really important. Please include it in some humane documentation, along with some examples of how to actually discover/define the image labels for a given stack.

from pack.

sclevine avatar sclevine commented on September 27, 2024

We definitely plan to have detailed, plain-english documentation for the pack CLI ready before we cut the first beta.

As @ekcasey mentions, the stack image tags are stored/manipulated with the pack *-stack commands. This will be covered in the documentation for those commands.

from pack.

jromero avatar jromero commented on September 27, 2024

@dsyer @nebhale we recently added additional human readable documentation around stacks.

https://buildpacks.io/docs/using-pack/stacks/

Does that satisfy this issue or do we feel more is necessary?

Feedback would be appreciated.

from pack.

jromero avatar jromero commented on September 27, 2024

Closing due to staleness and provided documentation mentioned above.

from pack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.