mirror of
https://github.com/mappu/miqt.git
synced 2025-05-07 20:40:22 +00:00
miqt-docker: set $HOME to /tmp inside container
This commit is contained in:
parent
6984b83aea
commit
687579d76f
@ -215,6 +215,8 @@ func getDockerRunArgsForGlob(dockerfiles []fs.DirEntry, containerNameGlob string
|
|||||||
|
|
||||||
fullCommand = append(fullCommand, `-v`, basedir+`:/src`, `-w`, filepath.Join(`/src`, relCwd))
|
fullCommand = append(fullCommand, `-v`, basedir+`:/src`, `-w`, filepath.Join(`/src`, relCwd))
|
||||||
|
|
||||||
|
fullCommand = append(fullCommand, `-e`, `HOME=/tmp`)
|
||||||
|
|
||||||
// Final standard docker commands
|
// Final standard docker commands
|
||||||
|
|
||||||
fullCommand = append(fullCommand, containerName+`:`+dockerfileHash) // , `/bin/bash`, `-c`)
|
fullCommand = append(fullCommand, containerName+`:`+dockerfileHash) // , `/bin/bash`, `-c`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user