Closed egibs closed 1 week ago
thanks for the contribution š ! would you mind resolving the conflicts and I'll kick off CI?
thanks for the contribution š ! would you mind resolving the conflicts and I'll kick off CI?
Done!
Kicked off CI! @egibs cc/ @joshrwolf
Melange Pull Request Template
Relates to: #1255
This PR introduces parity between Bubblewrap and Docker, that is, builds will default to the current UID with Docker but can still be configured via
cfg.RunAs
.Functional Changes
Notes:
SCA Changes
Notes:
Linter
Notes:
Works as expected -- on my Mac this defaulted to a UID of
501
rather than an empty string (which translates to0
).I tested this via these commands:
and then used
[]string{"id", "-u"}
for the containerCmd
to check the UID.Original code:
New code: