We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0728a7 commit 8159f79Copy full SHA for 8159f79
pkg/commands/utils/build_utils.go
@@ -68,7 +68,7 @@ func processTemplate(templatePath string, data any) ([]byte, error) {
68
}
69
70
func setupLayeredBuildDirectory(environmentConfig common.EnvironmentConfig, layeredDockerfileContent []byte, scriptContent []byte, includeTLS bool) (string, error) {
71
- tempDir, err := os.MkdirTemp("", LayeredBuildDirPrefix)
+ tempDir, err := os.MkdirTemp(os.TempDir(), LayeredBuildDirPrefix)
72
if err != nil {
73
return "", fmt.Errorf("failed to create temp dir: %w", err)
74
0 commit comments