-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker image on Windows #42
Comments
Hi Brian, there was a request to make the windows executable available as an install.
Would that be sufficient for you, or is a Windows Docker image a must? |
I'd prefer to stick with docker since it's 2 lines in my setup & build script and won't require separate code paths in them. I also like that it's cross platform since I can't use the npm package on appveyor because running that blocks so the build never finishes. Looks like there's some windows based node images being worked on that should make setting this up easier nodejs/docker-node#720. |
What Windows version do you need in the image? |
If Nano Server will work then that looks to be the smallest file size. There's some existing windows + node images at https://hub.docker.com/r/stefanscherer/node-windows/ if it'll help. AppVeyor posted an update the other day saying you can switch from Windows to Linux containers now but it's not clear if you need their new paid upgrade for it. I'll give this a try over the weekend to see how it works. |
You can't run linux containers on the standard tier workers, it's reserved only for the new premium tier workers. |
@xt0rted you can run ubuntu as an appveyor build image as well, which is what i'm doing. |
It would be great to see a windows server core based image, maybe a 2019 base image? |
I use AppVeyor as my build server and they only support Windows images (this week they soft released a paid upgrade to support Windows and Linux, but I don't want to pay extra just to use Azurite for my tests).
Would it be possible to publish both a Linux and Windows based docker image?
For now my build scripts check to see if they're running on AppVeyor and if so start up the Windows storage emulator instead of setting up Azurite. I'd prefer to run the same for dev & ci though.
I tried using the node package instead of docker but when you run that it blocks and the build never completes. Docker seems to be the best solution for both local dev & ci.
The text was updated successfully, but these errors were encountered: