Add option to use a flag for registry mirror?

Open
#2,999 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
build-system, cli

Research direction

No files, tests, or entry points are named. Start by tracing daemonless BuildKit's existing registry configuration and command-line option handling, then determine how a registry-mirror flag should interact with the config file. Done would mean a documented flag for supplying registry mirrors, with coverage for its behavior.

Written by the indexing model from the issue text.

Description

We currently run the daemonless buildkit in our CI pipeline, and it would be very valuable to be able to pass a flag with our registry mirror(s) instead of needing to create a config file and store it for use. Something like --registry-mirror would help avoid this, much like kaniko has.

Is this something that has been discussed previously?

I apologize in advance if this is the wrong spot, since this is more of a feature request rather than an issue.

Dominant language
Go
Stars
10.3k
Forks
1.5k
Avg merge
1d 23h
Merged PRs (30d)
48

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from moby/buildkit

All issues in moby/buildkit

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.