File tree Expand file tree Collapse file tree 12 files changed +15
-21
lines changed Expand file tree Collapse file tree 12 files changed +15
-21
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN Write-host "Verifying valid Version..."; `
44
44
Expand-Archive /installer/powershell.zip -DestinationPath \P owerShell
45
45
46
46
# Install PowerShell into NanoServer
47
- FROM ${dockerHost} /${NanoServerRepo}:${tag}
47
+ FROM mcr.microsoft.com /${NanoServerRepo}:${tag}
48
48
49
49
# Copy PowerShell Core from the installer container
50
50
ENV ProgramFiles="C:\P rogram Files" `
Original file line number Diff line number Diff line change 19
19
"TestProperties" : {
20
20
"size" : 1
21
21
},
22
- "UseAcr" : true ,
23
- "IsPrivate" : true
22
+ "UseAcr" : true
24
23
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ARG tag=ltsc2022
8
8
9
9
# Use server core as an installer container to extract PowerShell,
10
10
# As this is a multi-stage build, this stage will eventually be thrown away
11
- FROM ${dockerHost} /${WindowsServerCoreRepo}:${tag} AS installer-env
11
+ FROM mcr.microsoft.com /${WindowsServerCoreRepo}:${tag} AS installer-env
12
12
13
13
ARG PS_VERSION=6.2.0
14
14
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/PowerShell-${PS_VERSION}-win-x64.zip
@@ -35,7 +35,7 @@ RUN Write-host "Verifying valid Version..."; `
35
35
Expand-Archive powershell.zip -DestinationPath \P owerShell
36
36
37
37
# Install PowerShell into WindowsServerCore
38
- FROM ${dockerHost} /${WindowsServerCoreRepo}:${tag}
38
+ FROM mcr.microsoft.com /${WindowsServerCoreRepo}:${tag}
39
39
40
40
# Copy PowerShell Core from the installer container
41
41
ENV ProgramFiles="C:\P rogram Files" `
Original file line number Diff line number Diff line change 19
19
"TestProperties" : {
20
20
"size" : 1
21
21
},
22
- "UseAcr" : true ,
23
- "IsPrivate" : true
22
+ "UseAcr" : true
24
23
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN Write-host "Verifying valid Version..."; `
44
44
Expand-Archive /installer/powershell.zip -DestinationPath \P owerShell
45
45
46
46
# Install PowerShell into NanoServer
47
- FROM ${dockerHost} /${NanoServerRepo}:${tag}
47
+ FROM mcr.microsoft.com /${NanoServerRepo}:${tag}
48
48
49
49
# Copy PowerShell Core from the installer container
50
50
ENV ProgramFiles="C:\P rogram Files" `
Original file line number Diff line number Diff line change 16
16
"TestProperties" : {
17
17
"size" : 1
18
18
},
19
- "UseAcr" : true ,
20
- "IsPrivate" : true
19
+ "UseAcr" : true
21
20
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ARG tag=ltsc2022
8
8
9
9
# Use server core as an installer container to extract PowerShell,
10
10
# As this is a multi-stage build, this stage will eventually be thrown away
11
- FROM ${dockerHost} /${WindowsServerCoreRepo}:${tag} AS installer-env
11
+ FROM mcr.microsoft.com /${WindowsServerCoreRepo}:${tag} AS installer-env
12
12
13
13
ARG PS_VERSION=6.2.0
14
14
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/PowerShell-${PS_VERSION}-win-x64.zip
@@ -35,7 +35,7 @@ RUN Write-host "Verifying valid Version..."; `
35
35
Expand-Archive powershell.zip -DestinationPath \P owerShell
36
36
37
37
# Install PowerShell into WindowsServerCore
38
- FROM ${dockerHost} /${WindowsServerCoreRepo}:${tag}
38
+ FROM mcr.microsoft.com /${WindowsServerCoreRepo}:${tag}
39
39
40
40
# Copy PowerShell Core from the installer container
41
41
ENV ProgramFiles="C:\P rogram Files" `
Original file line number Diff line number Diff line change 16
16
"TestProperties" : {
17
17
"size" : 1
18
18
},
19
- "UseAcr" : true ,
20
- "IsPrivate" : true
19
+ "UseAcr" : true
21
20
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN Write-host "Verifying valid Version..."; `
44
44
Expand-Archive /installer/powershell.zip -DestinationPath \P owerShell
45
45
46
46
# Install PowerShell into NanoServer
47
- FROM ${dockerHost} /${NanoServerRepo}:${tag}
47
+ FROM mcr.microsoft.com /${NanoServerRepo}:${tag}
48
48
49
49
# Copy PowerShell Core from the installer container
50
50
ENV ProgramFiles="C:\P rogram Files" `
Original file line number Diff line number Diff line change 19
19
"TestProperties" : {
20
20
"size" : 1
21
21
},
22
- "UseAcr" : true ,
23
- "IsPrivate" : true
22
+ "UseAcr" : true
24
23
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ARG tag=ltsc2022
8
8
9
9
# Use server core as an installer container to extract PowerShell,
10
10
# As this is a multi-stage build, this stage will eventually be thrown away
11
- FROM ${dockerHost} /${WindowsServerCoreRepo}:${tag} AS installer-env
11
+ FROM mcr.microsoft.com /${WindowsServerCoreRepo}:${tag} AS installer-env
12
12
13
13
ARG PS_VERSION=6.2.0
14
14
ARG PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/PowerShell-${PS_VERSION}-win-x64.zip
@@ -35,7 +35,7 @@ RUN Write-host "Verifying valid Version..."; `
35
35
Expand-Archive powershell.zip -DestinationPath \P owerShell
36
36
37
37
# Install PowerShell into WindowsServerCore
38
- FROM ${dockerHost} /${WindowsServerCoreRepo}:${tag}
38
+ FROM mcr.microsoft.com /${WindowsServerCoreRepo}:${tag}
39
39
40
40
# Copy PowerShell Core from the installer container
41
41
ENV ProgramFiles="C:\P rogram Files" `
Original file line number Diff line number Diff line change 19
19
"TestProperties" : {
20
20
"size" : 1
21
21
},
22
- "UseAcr" : true ,
23
- "IsPrivate" : true
22
+ "UseAcr" : true
24
23
}
You can’t perform that action at this time.
0 commit comments