Skip to content

Commit 1e36dfd

Browse files
committed
Pull only nanoserver
1 parent 5fae7a3 commit 1e36dfd

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

node/build.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ function buildVersion($majorMinorPatch, $majorMinor, $major) {
66
}
77

88
if (Test-Path $major\pure) {
9-
docker build --pull -t node:$majorMinorPatch-pure $major/pure
9+
docker build -t node:$majorMinorPatch-pure $major/pure
1010
}
1111

12-
docker build --pull -t node:$majorMinorPatch-nanoserver $major/nano
12+
docker build -t node:$majorMinorPatch-nanoserver $major/nano
1313
}
1414

1515
Write-Output "Build with server docker engine"
@@ -34,6 +34,9 @@ Start-Service docker
3434
Write-Output "Running server docker engine"
3535
docker version
3636

37+
Write-Output "Update nanoserver image"
38+
docker pull mcr.microsoft.com/windows/nanoserver:1809
39+
3740
#buildVersion "6.14.4" "6.14" "6"
3841
#buildVersion "8.11.4" "8.11" "8"
3942
buildVersion "10.19.0" "10.19" "10"

0 commit comments

Comments
 (0)