mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
silence env warnings in output
This commit is contained in:
parent
9d90ae670e
commit
4e56fb448f
1 changed files with 3 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ func Heat(path string, native bool, localWixDir string) error {
|
|||
args = append(
|
||||
args,
|
||||
"docker", "run", "--rm", "--platform", dockerPlatform,
|
||||
"--env", "XDG_RUNTIME_DIR=/tmp", // silence Wine warning inside container
|
||||
"--volume", path+":/wix", // mount volume
|
||||
imageName, // image name
|
||||
)
|
||||
|
|
@ -109,6 +110,7 @@ func Candle(path string, native bool, localWixDir string, arch string) error {
|
|||
args = append(
|
||||
args,
|
||||
"docker", "run", "--rm", "--platform", dockerPlatform,
|
||||
"--env", "XDG_RUNTIME_DIR=/tmp", // silence Wine warning inside container
|
||||
"--volume", path+":/wix", // mount volume
|
||||
imageName, // image name
|
||||
)
|
||||
|
|
@ -166,6 +168,7 @@ func Light(path string, native bool, localWixDir string) error {
|
|||
args = append(
|
||||
args,
|
||||
"docker", "run", "--rm", "--platform", dockerPlatform,
|
||||
"--env", "XDG_RUNTIME_DIR=/tmp", // silence Wine warning inside container
|
||||
"--volume", path+":/wix", // mount volume
|
||||
imageName, // image name
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue