Skip to content

Commit

Permalink
fix windows images
Browse files Browse the repository at this point in the history
  • Loading branch information
andyli committed Jun 14, 2019
1 parent cbdd066 commit 5253ae4
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2016

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2016

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2016

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2016

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# PLEASE DO NOT EDIT IT DIRECTLY.
#

FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2016

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
::HEADER::

FROM microsoft/windowsservercore
FROM mcr.microsoft.com/windows/servercore:ltsc2016

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

Expand Down
10 changes: 5 additions & 5 deletions Update.hx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class Update {
"suffix": ["onbuild"]
},
{
"variant": "windowsservercore",
"suffix": ["windowsservercore"]
"variant": "windowsservercore-ltsc2016",
"suffix": ["windowsservercore-ltsc2016", "windowsservercore"]
},
// neko and haxelib are still 32-bit only
// {
Expand Down Expand Up @@ -130,21 +130,21 @@ class Update {
HAXE_VERSION: version.version,
HAXE_TAG: version.tag,
HAXE_FILE: switch(variant.variant) {
case "windowsservercore"|"nanoserver":
case "windowsservercore-ltsc2016"|"nanoserver":
'https://github.com/HaxeFoundation/haxe/releases/download/${version.tag}/haxe-${version.version}-win${version.win64 ? "64" : ""}.zip';
case _:
null;
},
HAXE_SHA256: switch(variant.variant) {
case "windowsservercore"|"nanoserver":
case "windowsservercore-ltsc2016"|"nanoserver":
version.sha256.win;
case _:
null;
},
NEKO_VERSION: "2.2.0",
NEKO_TAG: "v2-2-0",
NEKO_SHA256: switch(variant.variant) {
case "windowsservercore"|"nanoserver":
case "windowsservercore-ltsc2016"|"nanoserver":
"93d7ca96698a6825f38ca8eea49e2e6b691c0849270174f6c1bd531290db8d69";
case _:
"cf101ca05db6cb673504efe217d8ed7ab5638f30e12c5e3095f06fa0d43f64e3";
Expand Down
12 changes: 5 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ image: Visual Studio 2017

environment:
matrix:
# - version: 3.4
# variant: nanoserver
- version: 4.0
variant: windowsservercore
variant: windowsservercore-ltsc2016
- version: 3.4
variant: windowsservercore
variant: windowsservercore-ltsc2016
- version: 3.3
variant: windowsservercore
variant: windowsservercore-ltsc2016
- version: 3.2
variant: windowsservercore
variant: windowsservercore-ltsc2016
- version: 3.1
variant: windowsservercore
variant: windowsservercore-ltsc2016

install:
- ps: |
Expand Down

0 comments on commit 5253ae4

Please sign in to comment.