File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/PostSharp.Engineering.BuildTools/Docker Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ public override void WriteDockerfile( TextWriter writer )
1414 {
1515 writer . WriteLine (
1616 """
17- RUN powershell -c " irm https://community.chocolatey.org/install.ps1|iex" `
18- $pathsToAdd = @('C:\ProgramData\chocolatey\bin'); `
19- $newPath = [Environment]::GetEnvironmentVariable('PATH', 'Machine') + ';' + ($pathsToAdd -join ';'); `
20- [Environment]::SetEnvironmentVariable('PATH', $newPath, 'Machine'); `
21- & C:\ProgramData\chocolatey\bin\choco.exe feature enable -n allowGlobalConfirmation
17+ RUN powershell -c ' irm https://community.chocolatey.org/install.ps1|iex'; `
18+ $pathsToAdd = @('C:\ProgramData\chocolatey\bin'); `
19+ $newPath = [Environment]::GetEnvironmentVariable('PATH', 'Machine') + ';' + ($pathsToAdd -join ';'); `
20+ [Environment]::SetEnvironmentVariable('PATH', $newPath, 'Machine'); `
21+ & C:\ProgramData\chocolatey\bin\choco.exe feature enable -n allowGlobalConfirmation
2222 """ ) ;
2323 }
2424}
You can’t perform that action at this time.
0 commit comments