<html>#2612: GetComponents assumes that $USER is defined
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td>development version</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>GetComponents</td></tr>
</table>

<p>Currently GetComponents assumes that the <code>$USER</code> environment variable is set. This is not true inside of docker containers and requires some workarounds in the Dockerfile to handle correctly.</p>
<p>Pull request <a data-is-external-link="true" href="https://github.com/gridaphobe/CRL/pull/11/files" rel="nofollow">https://github.com/gridaphobe/CRL/pull/11/files</a> instead uses Perl’s <code>getpwuid</code> to get the user name from the OS which does not rely on USER. I tested getpwuid to work fine in a Ubuntu container.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2612/getcomponents-assumes-that-user-is-defined'>https://bitbucket.org/einsteintoolkit/tickets/issues/2612/getcomponents-assumes-that-user-is-defined</a></p>
</html>