Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • emulab-devel emulab-devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 165
    • Issues 165
    • 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
  • emulabemulab
  • emulab-develemulab-devel
  • Merge requests
  • !38

Added default USER, HOME, and PATH environment var

  • Review changes

  • Download
  • 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
Reviewers
Request review from
Time tracking
Source branch: master