Skip to content

Conversation

@vvoland
Copy link
Contributor

@vvoland vvoland commented Sep 17, 2025

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.

@vvoland vvoland self-assigned this Sep 17, 2025
@vvoland vvoland requested a review from a team September 17, 2025 15:39
@vvoland vvoland force-pushed the repo-only branch 2 times, most recently from b1cfe51 to bc4e2e8 Compare September 18, 2025 10:31
@vvoland vvoland changed the title Add --repo-only option to configure repositories without installing packages Add --setup-repo option to configure repositories without installing packages Sep 18, 2025
install.sh Outdated
)

if [ "$REPO_ONLY" = "1" ]; then
echo "Skipping package installation due to --setup-repo flag." >&2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 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? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm maybe we should just not have that message.. If the flag is passed, then the user probably knows what it does.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, removing definitely works for me.

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…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 austinvazquez merged commit 1ebc10c into docker:master Sep 18, 2025
9 checks passed
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.

3 participants