Skip to content

Is there a step-by-step instruction or article on how to add your own package? #30606

Answered by kranurag7
farcop asked this question in Q&A
Discussion options

You must be logged in to vote

ref: https://edu.chainguard.dev/open-source/wolfi/building-a-wolfi-package/ and other examples in this repository.
make targets is pretty useful when you're developing packages.

Usually the workflow abstraction is that you write your melange config in foo.yaml and considering if your package name is foo then you do the following from root of the repository:

make dev-container
make package/foo # for building your apk
make test/foo # for testing

Hope this helps.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@farcop
Comment options

@farcop
Comment options

Answer selected by farcop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants