Skip to content

Commit

Permalink
feat: default to binarySource=install (#18027)
Browse files Browse the repository at this point in the history
Changes binarySource default value from global to install.

Closes #14531

BREAKING CHANGE: Users of containerbase images (such as official Renovate images) will now have dynamic package manager installs enabled by default.
  • Loading branch information
rarkins committed Oct 23, 2022
1 parent 0a6d97f commit 0be74f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/config/options/index.ts
Expand Up @@ -289,7 +289,7 @@ const options: RenovateOptions[] = [
globalOnly: true,
type: 'string',
allowedValues: ['global', 'docker', 'install', 'hermit'],
default: 'global',
default: 'install',
},
{
name: 'redisUrl',
Expand Down
4 changes: 1 addition & 3 deletions lib/util/exec/containerbase.ts
Expand Up @@ -124,9 +124,7 @@ export function isDynamicInstall(
return false;
}
if (!isContainerbase()) {
logger.warn(
'binarySource=install is only compatible with images derived from github.com/containerbase'
);
logger.debug('Falling back to binarySource=global');
return false;
}
return (
Expand Down

0 comments on commit 0be74f3

Please sign in to comment.