Skip to content

feat: custom repositories. - #319

Open
oxpa wants to merge 1 commit into
canonical:mainfrom
nginxinc:customurl
Open

feat: custom repositories.#319
oxpa wants to merge 1 commit into
canonical:mainfrom
nginxinc:customurl

Conversation

@oxpa

@oxpa oxpa commented Aug 6, 2026

Copy link
Copy Markdown

This PR adds (rather crude) support for third party repositories.

I'm trying to build a custom image for nginx (and later - nginx-plus).
Chisel seems like a good tool for the task. But it doesn't support third party repositories.

To work around this issue I added 'url' field into chisel.yaml. This allows one to add an archive like this:

  nginx:
    priority: 20
    version: 24.04
    components: [nginx]
    suites: [noble]
    public-keys: [nginx-key]
    url: https://packages.nginx.org/nginx/mainline/ubuntu/

And then add some slices into chisel-release to install from the new repository.
I'm not sure if I have to bump any versions. I would appreciate help with this.


  • Have you signed the CLA?

@upils

upils commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Thanks for your contribution @oxpa.

Slices in a given release form a coupled set, ensuring no conflicts exists between any two slices. For that the release is validated by Chisel. On a regular basis the release is also validated against the actual content of packages coming from the archive. Opening this mechanism to third-party repositories would require careful consideration, regardless of the difficulty of the implementation, to ensure Chisel can still keep the strong promises it makes.

You may solve you problem by setting up an archive mirror/proxy where you would host your version of nginx. See #135 (comment) for a related discussion. Supporting mirror in a nice way is also considered for our next roadmap.

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

Successfully merging this pull request may close these issues.

2 participants