Jamie Tanna
426bf15b26
feat(manager/dockerfile): update APK packages pinned with a fuzzy constraint ( #45693 )
...
In the Wolfi undistribution, which Chainguard Images are built upon,
it is common to use a fuzzy constraint rather than exact versions[0]:
RUN apk update && apk add --no-cache libcurl-openssl4=~8.12.1
curl=~8.12.1 make
which we previously skipped as `unsupported-version` when we started
extracting `apk add` packages.
As the `apk` version resolves these, we should extract the constraint as
the `currentValue`, and let the lookup evaluate it.
A constraint of `~8.12.1` matches every `8.12.1-rN` version, so we don't
need to update these constraints.
However, when the `newVersion` is i.e. `8.13.0-r0`, the constraint is
rewritten to `curl=~8.13.0`.
If using an exact pin, the version is upgraded with the same precision
i.e. `curl=8.12.1` -> `curl=8.13.0`.
We still skip constraints we can't handle with i.e. `contains-variable`
or `unsupported-version`.
[0]: https://github.com/elastic/crawler/blob/bc15328fb808affd00dff0cd92527bbe402f5ded/Dockerfile.wolfi#L7
Co-authored-by: Claude Opus 5 <jamie.tanna+claude-code@mend.io >
2026-09-18 07:06:55 +00:00
..
2026-09-04 06:36:39 +00:00
2026-09-15 08:36:30 +00:00
2026-09-03 09:54:40 +00:00
2026-09-16 13:13:41 +00:00
2026-09-09 13:51:30 +00:00
2026-09-03 09:54:40 +00:00
2026-09-15 07:10:10 +00:00
2026-09-04 10:40:46 +00:00
2026-09-03 09:54:40 +00:00
2026-09-16 06:43:03 +00:00
2026-09-14 11:09:07 +00:00
2026-09-14 11:09:07 +00:00
2026-01-26 22:48:17 +00:00
2026-08-14 14:30:46 +00:00
2026-05-30 16:01:58 +00:00
2026-09-04 06:36:39 +00:00
2026-09-03 09:54:40 +00:00
2026-09-16 13:13:41 +00:00
2026-01-26 22:48:17 +00:00
2026-09-15 07:10:10 +00:00
2026-09-04 10:40:46 +00:00
2026-09-16 13:13:41 +00:00
2026-09-04 06:36:39 +00:00
2026-08-28 09:27:59 +00:00
2026-09-04 06:36:39 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 13:13:41 +00:00
2026-09-15 07:10:10 +00:00
2026-08-14 14:30:46 +00:00
2026-05-30 16:01:58 +00:00
2026-09-04 11:30:15 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 06:43:03 +00:00
2026-09-16 13:13:41 +00:00
2026-08-21 08:49:52 +00:00
2026-09-16 06:43:02 +00:00
2026-09-18 07:06:55 +00:00
2026-09-16 06:43:00 +00:00
2026-09-09 13:51:30 +00:00
2026-09-15 07:10:10 +00:00
2026-05-30 16:01:58 +00:00
2026-09-16 06:43:02 +00:00
2026-09-16 14:14:43 +01:00
2026-09-15 07:10:10 +00:00
2026-09-04 06:36:39 +00:00
2026-09-16 06:43:03 +00:00
2026-09-16 13:13:42 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 06:43:03 +00:00
2026-09-15 07:10:10 +00:00
2026-09-03 07:42:45 +00:00
2026-09-04 06:36:39 +00:00
2026-09-17 13:48:24 +00:00
2026-09-16 13:13:42 +00:00
2026-09-09 13:51:30 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 06:43:01 +00:00
2026-06-02 13:29:48 +00:00
2026-09-16 06:43:00 +00:00
2026-09-04 06:36:39 +00:00
2026-09-16 06:43:00 +00:00
2026-09-16 13:13:41 +00:00
2026-09-03 07:42:45 +00:00
2026-05-30 16:01:58 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 06:43:01 +00:00
2026-09-16 06:43:02 +00:00
2026-09-14 15:11:01 +00:00
2026-09-04 06:36:39 +00:00
2026-07-08 12:25:54 +00:00
2026-09-16 13:13:42 +00:00
2026-09-16 13:13:41 +00:00
2026-09-14 11:09:07 +00:00
2026-01-26 22:48:17 +00:00
2026-09-15 08:36:30 +00:00
2026-09-16 13:13:41 +00:00
2026-08-14 14:30:46 +00:00
2026-09-16 06:43:01 +00:00
2026-09-03 07:42:45 +00:00
2026-09-16 13:13:42 +00:00
2026-09-16 06:43:01 +00:00
2026-09-14 11:09:07 +00:00
2026-09-04 06:36:39 +00:00
2026-09-16 06:43:01 +00:00
2026-09-16 06:43:01 +00:00
2026-09-16 13:13:42 +00:00
2026-09-16 13:13:42 +00:00
2026-09-16 06:43:02 +00:00
2026-08-27 19:52:09 +00:00
2026-09-16 13:13:42 +00:00
2026-09-03 09:54:40 +00:00
2026-01-26 22:48:17 +00:00
2026-09-15 08:36:30 +00:00
2026-09-16 15:31:57 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-08-10 07:52:31 +00:00
2026-09-15 07:10:09 +00:00
2026-01-26 22:48:17 +00:00
2026-09-04 06:36:39 +00:00
2026-07-22 07:50:04 +00:00
2026-09-09 13:51:30 +00:00
2026-09-16 06:43:03 +00:00
2026-09-04 10:40:45 +00:00
2026-09-16 06:43:03 +00:00
2026-01-26 22:48:17 +00:00
2026-09-16 13:15:37 +00:00
2026-01-26 22:48:17 +00:00
2026-09-16 06:43:03 +00:00
2026-09-16 06:43:03 +00:00
2026-09-16 12:13:48 +00:00
2026-05-08 07:01:27 +00:00
2026-08-28 09:27:59 +00:00
2026-09-16 13:13:41 +00:00
2026-08-28 09:27:59 +00:00
2026-05-30 16:01:58 +00:00
2026-09-02 16:17:15 +00:00
2026-01-26 22:48:17 +00:00
2026-09-04 10:40:46 +00:00
2026-07-19 11:14:22 +00:00
2026-07-20 14:28:26 +00:00
2026-01-26 22:48:17 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 13:13:41 +00:00
2026-09-16 13:13:41 +00:00