moby/builder
Tonis Tiigi e35f6fbd08
builder-next: fix missing lock in ensurelayer
When this was called concurrently from the moby image
exporter there could be a data race where a layer was
written to the refs map when it was already there.

In that case the reference count got mixed up and on
release only one of these layers was actually released.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 37545cc644)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-07 12:33:26 +01:00
..
builder-next builder-next: fix missing lock in ensurelayer 2024-03-07 12:33:26 +01:00
dockerfile builder/windows: Don't set ArgsEscaped for RUN cache probe 2024-01-25 16:33:36 +01:00
remotecontext Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex 2022-12-09 00:17:18 +01:00
builder.go image/cache: Check image platform 2024-01-25 16:33:33 +01:00