#2612: GetComponents assumes that $USER is defined
| Reporter: | Roland Haas |
| Status: | new |
| Milestone: | |
| Version: | development version |
| Type: | bug |
| Priority: | minor |
| Component: | GetComponents |
Currently GetComponents assumes that the $USER environment variable is set. This is not true inside of docker containers and requires some workarounds in the Dockerfile to handle correctly.
Pull request https://github.com/gridaphobe/CRL/pull/11/files instead uses Perl’s getpwuid to get the user name from the OS which does not rely on USER. I tested getpwuid to work fine in a Ubuntu container.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2612/getcomponents-assumes-that-user-is-defined