mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows:Tie busybox to version
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
68cbc3712c
commit
14c8b67e51
1 changed files with 2 additions and 2 deletions
|
@ -776,9 +776,9 @@ Try {
|
||||||
# This is a temporary hack for nanoserver
|
# This is a temporary hack for nanoserver
|
||||||
if ($env:WINDOWS_BASE_IMAGE -ne "microsoft/windowsservercore") {
|
if ($env:WINDOWS_BASE_IMAGE -ne "microsoft/windowsservercore") {
|
||||||
Write-Host -ForegroundColor Red "HACK HACK HACK - Building 64-bit nanoserver busybox image"
|
Write-Host -ForegroundColor Red "HACK HACK HACK - Building 64-bit nanoserver busybox image"
|
||||||
$(& "$env:TEMP\binary\docker-$COMMITHASH" "-H=$($DASHH_CUT)" build -t busybox https://raw.githubusercontent.com/jhowardmsft/busybox64/master/Dockerfile | Out-Host)
|
$(& "$env:TEMP\binary\docker-$COMMITHASH" "-H=$($DASHH_CUT)" build -t busybox https://raw.githubusercontent.com/jhowardmsft/busybox64/v1.0/Dockerfile | Out-Host)
|
||||||
} else {
|
} else {
|
||||||
$(& "$env:TEMP\binary\docker-$COMMITHASH" "-H=$($DASHH_CUT)" build -t busybox https://raw.githubusercontent.com/jhowardmsft/busybox/master/Dockerfile | Out-Host)
|
$(& "$env:TEMP\binary\docker-$COMMITHASH" "-H=$($DASHH_CUT)" build -t busybox https://raw.githubusercontent.com/jhowardmsft/busybox/v1.0/Dockerfile | Out-Host)
|
||||||
}
|
}
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
if (-not($LastExitCode -eq 0)) {
|
if (-not($LastExitCode -eq 0)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue