Skip to content

Commit

Permalink
Don't set HOME when not mounting home folder (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycanty authored Feb 18, 2021
1 parent 7e56831 commit 5b8ed8e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ func (docker *dockerConfig) call() int {
"-v", fmt.Sprintf("%v:%v", convertDrive(home), mountingHome),
"-e", fmt.Sprintf("HOME=%v", mountingHome),
}...)
} else {
dockerArgs = append(dockerArgs, "-e", fmt.Sprintf("HOME=%s/home/%s", dockerMountImagePath, currentUser.Username))
}
dockerArgs = append(dockerArgs, config.DockerOptions...)

Expand Down

0 comments on commit 5b8ed8e

Please sign in to comment.