Skip to content
  • Elijah Grubb's avatar
    Added default USER, HOME, and PATH environment var · d6075931
    Elijah Grubb authored
    USER is picked as the user specified by the Docker config
    or if that is empty is defaulted to root. If the USER is root
    then HOME is defaulted to /root otherwise it is set to the
    HOME found when running `env` in a sample of the container.
    
    PATH is set to a normal sane default.
    
    Any of these environment variables can be overridden in the
    Dockerfile or using profile parameters at any time. This is
    just to help users who rely on Docker providing defaults.
    d6075931