Skip to content

Commit

Permalink
az powershell (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickelTyle committed Oct 18, 2022
1 parent 2fe370a commit 514aa7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/cli/cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ var deployCmd = &cobra.Command{
// persist azure cli between container executions
cmd2.Args = append(cmd2.Args, "-v", fmt.Sprintf("%s/.runiac/.azure:/root/.azure", dir))

// persist Azure Az Powershell module between container executions. .azure and .Azure are treated as two separate folders on linux, and they can't both be bound to same location on host
cmd2.Args = append(cmd2.Args, "-v", fmt.Sprintf("%s/.runiac/.azurepowershell:/root/.Azure", dir))

// persist gcloud cli
cmd2.Args = append(cmd2.Args, "-v", fmt.Sprintf("%s/.runiac/.config/gcloud:/root/.config/gcloud", dir))

Expand Down

0 comments on commit 514aa7e

Please sign in to comment.