profile
viewpoint

Ask questionsAsk Alpine Linux upstream to compile newuidmap with libcap-dev

https://github.com/moby/buildkit/blob/ba2ddc71a0184f91f76cc19145f01f6adbf0ab97/Dockerfile#L267-L282

We should ask the upstream of Alpine Linux to compile newuidmap with libcap-dev so that we do not need to compile it by ourselves.

https://github.com/alpinelinux/aports/blob/v20210212/community/shadow/APKBUILD https://wiki.alpinelinux.org/wiki/Creating_patches

moby/buildkit

Answer questions AkihiroSuda

Merge request: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/25365

EDIT: Merged as 4.8.1-r1 of the package https://pkgs.alpinelinux.org/package/edge/community/x86_64/shadow Currently only available in alpine:edge. Will be probably included in Alpine 3.15.

useful!
source:https://uonfu.com/
answerer
Akihiro Suda AkihiroSuda NTT Tokyo, Japan https://medium.com/@AkihiroSuda A maintainer of Moby(dockerd), BuildKit, containerd, and runc.
Github User Rank List