f1d398ba8182f78c4caf21e9fc47e11d3cb5a0f6
Symlinking /etc/passwd files leads to invalid cross-device link errors when running apt commands. Internally, apt uses dpkg, which adds a user "irc" when performing apt installs/upgrades. This subprocess leads to the error. The solution implemented here creates a user with the same name and id as the current user. This gives both users the the same file permissions, without having to symlink /etc/passwd.
Languages
C
84.9%
Dockerfile
13.6%
Shell
1.5%