mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-31 17:51:49 +00:00
6add79a9a5
* feat(manager/dockerfile): extract `apt install` packages from `RUN` instructions Similar to the support we've recently added for extracting `apk` packages in `Dockerfile`s, we can also extract `apt install` and `apt-get install`s. We can build on top of our shared extraction layer, and: - preserving an `:arch` qualifier when replacing the version - skipping versions/constraints we can't update Co-Authored-By: Claude Opus 5 <jamie.tanna+claude-code@mend.io> * docs(manager/dockerfile): clarify where to find skipped logs --------- Co-authored-by: Claude Opus 5 <jamie.tanna+claude-code@mend.io>
25 lines
777 B
TypeScript
25 lines
777 B
TypeScript
import type { Category } from '../../../constants/index.ts';
|
|
import { ApkDatasource } from '../../datasource/apk/index.ts';
|
|
import { DebDatasource } from '../../datasource/deb/index.ts';
|
|
import { DockerDatasource } from '../../datasource/docker/index.ts';
|
|
import { extractPackageFile } from './extract.ts';
|
|
|
|
export { knownDepTypes } from './dep-types.ts';
|
|
export { extractPackageFile };
|
|
|
|
export const url = 'https://docs.docker.com/build/concepts/dockerfile';
|
|
export const categories: Category[] = ['docker'];
|
|
|
|
export const defaultConfig = {
|
|
managerFilePatterns: [
|
|
'/(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$/',
|
|
'/(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$/',
|
|
],
|
|
};
|
|
|
|
export const supportedDatasources = [
|
|
ApkDatasource.id,
|
|
DebDatasource.id,
|
|
DockerDatasource.id,
|
|
];
|