<div dir="ltr"><div>Hi there!</div><div><br></div><div>I attempted to use the ubi8/nodejs-16-minimal image (<a href="https://catalog.redhat.com/software/containers/ubi8/nodejs-16-minimal/615aefd53f6014fa45ae1ae2">https://catalog.redhat.com/software/containers/ubi8/nodejs-16-minimal/615aefd53f6014fa45ae1ae2</a>) and couldn't seem to get the <font face="monospace">PATH</font> to refer to the appropriate <font face="monospace">$HOME</font> location. The result is that the node_modules paths are all relative to root ("<font face="monospace">/</font>") instead of relative to the <font face="monospace">/opt/app-root/src</font> path</div><div><br></div><div><font face="monospace">$ docker run -it <a href="http://registry.access.redhat.com/ubi8/nodejs-16-minimal:latest">registry.access.redhat.com/ubi8/nodejs-16-minimal:latest</a> printenv PATH<br>/node_modules/.bin/:/.npm-global/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin<br></font></div><div><br></div><div>In testing on my machine, it seems to be because the <font face="monospace">HOME</font> variable and the <font face="monospace">PATH</font> variable are declared in the same <font face="monospace">ENV</font> action. Separating them resolved this for me, though it seems like it should have worked as expected.</div><div><br></div><div>Either way, I wanted to report it to see if there was something that I could do to resolve this, or if there was simply an error in how I was using this image. </div><div><br></div><div>Regards,</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(0,0,0)">José R. González</span></div><div><font color="#000000">Red Hat | Partner Lifecycle Engineering</font></div><table border="0"><tbody><tr></tr></tbody></table></div></div></div></div></div></div></div>