Skip to content

pkg/docker: Fix static builds with runc 1.5 - #515

Merged
thaJeztah merged 1 commit into
docker:mainfrom
vvoland:fix-docker
Sep 8, 2026
Merged

thaJeztah merged 1 commit into
docker:mainfrom
vvoland:fix-docker

Conversation

@vvoland

@vvoland vvoland commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

runc 1.5 enables libpathrs by default, but the Docker static builder had no native libpathrs dependency, so runc failed during pkg-config lookup.

Select runc's pathrs-lite backend with RUNC_BUILDTAGS=-libpathrs, matching the containerd packaging while preserving the other default build tags.

runc 1.5 enables libpathrs by default, but the Docker static builder
had no native libpathrs dependency, so runc failed during pkg-config
lookup.

Select runc's pathrs-lite backend with RUNC_BUILDTAGS=-libpathrs,
matching the containerd packaging while preserving the other default
build tags.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@thaJeztah
thaJeztah merged commit bdf8115 into docker:main Sep 8, 2026
719 of 721 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants