Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • emulab-devel emulab-devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 160
    • Issues 160
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • emulab
  • emulab-develemulab-devel
  • Merge requests
  • !38

Added default USER, HOME, and PATH environment var

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Elijah Grubb requested to merge grubb/emulab-devel:master into master Jun 05, 2018
  • Overview 0
  • Commits 1
  • Changes 1

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.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master