Add --setup-repo option to configure repositories without installing packages#525
Merged
Conversation
b1cfe51 to
bc4e2e8
Compare
thaJeztah
reviewed
Sep 18, 2025
| ) | ||
|
|
||
| if [ "$REPO_ONLY" = "1" ]; then | ||
| echo "Skipping package installation due to --setup-repo flag." >&2 |
Member
There was a problem hiding this comment.
- Do we want this to use
INFO:as prefix (I see we use that in some places)? - (not new); when using
--dry-run, do we want such messages to be prefixed with#to allow users to copy/paste the steps without info messages to be included? 🤔
Contributor
Author
There was a problem hiding this comment.
Hmm maybe we should just not have that message.. If the flag is passed, then the user probably knows what it does.
Member
There was a problem hiding this comment.
Ah, yes, removing definitely works for me.
…packages The `--setup-repo` flag allows users to add Docker package repositories to without automatically installing Docker packages. This is useful for scenarios where users want to configure the repository but handle package installation separately. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
austinvazquez
approved these changes
Sep 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
--setup-repoflag allows users to add Docker package repositories to without automatically installing Docker packages.This is useful for scenarios where users want to configure the repository but handle package installation separately.