Giter Site home page Giter Site logo

Docker image on Windows about azurite HOT 7 OPEN

azure avatar azure commented on August 24, 2024 3
Docker image on Windows

from azurite.

Comments (7)

erichexter avatar erichexter commented on August 24, 2024 1

It would be great to see a windows server core based image, maybe a 2019 base image?

from azurite.

edwin-huber avatar edwin-huber commented on August 24, 2024

Hi Brian,

there was a request to make the windows executable available as an install.
We already use npm/pkg to generate these for the nuget package.

"nuget": "cross-var \"npm run clean && pkg -t node6-win --output blob bin/blob && pkg -t node6-win --output queue bin/queue && pkg -t node6-win --output table bin/table && nuget pack -Version $npm_package_version && nuget push *.nupkg -Source https://www.nuget.org/api/v2/package\"",

Would that be sufficient for you, or is a Windows Docker image a must?

from azurite.

xt0rted avatar xt0rted commented on August 24, 2024

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.

from azurite.

edwin-huber avatar edwin-huber commented on August 24, 2024

What Windows version do you need in the image?

from azurite.

xt0rted avatar xt0rted commented on August 24, 2024

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.

from azurite.

xt0rted avatar xt0rted commented on August 24, 2024

You can't run linux containers on the standard tier workers, it's reserved only for the new premium tier workers.

from azurite.

swissarmykirpan avatar swissarmykirpan commented on August 24, 2024

@xt0rted you can run ubuntu as an appveyor build image as well, which is what i'm doing.
here's a PR that i'm currently working on https://github.com/testcontainers/testcontainers-dotnet/pull/11/files
This is my appveyor config - https://github.com/testcontainers/testcontainers-dotnet/blob/master/appveyor.yml

from azurite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.