This is an archive of the discontinued Mercurial Phabricator instance.

packaging: add `HG_DOCKER_OWN_USER` to `dockerdeb` like exists in `dockerrpm`
ClosedPublic

Authored by mharbison72 on Nov 25 2020, 12:14 AM.

Details

Summary

I was getting build failures when it was trying to write to the working
directory on CentOS 7 without this. It is basically the same as was added to
the RPM builder in 4c0d4bbdc395.

For some reason, this doesn't work with Xenial, and the only solution I found
was to invoke it with UID 1000 on the host side. It doesn't EOL until April
2024, but it also has python 3.5.2, so this build complication is the least of
the problems with supporting it after py2 is dropped.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.