miqt-docker: set $HOME to /tmp inside container

This commit is contained in:
mappu 2025-04-29 22:47:21 +12:00
parent 6984b83aea
commit 687579d76f

View File

@ -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, `-e`, `HOME=/tmp`)
// Final standard docker commands
fullCommand = append(fullCommand, containerName+`:`+dockerfileHash) // , `/bin/bash`, `-c`)