build: windows image #4867
Replies: 5 comments
-
I'm running Docker Desktop on Win 10 + WSL2. The verdaccio image is running fine with that. |
Beta Was this translation helpful? Give feedback.
-
@mbtools AFAIK, wsl2 can not be enabled for docker due to disabled Hiper-V in GitHub Actions. |
Beta Was this translation helpful? Give feedback.
-
As you can see in my screenshot, it works. Why do you need GH actions? It all runs on my Win10 PC with Docker Desktop. You can use the Verdaccio images from Docker Hub or clone the repo to your PC and run docker-compose. |
Beta Was this translation helpful? Give feedback.
-
@mbtools Thanks for the response.
I know, but that's thanks to wsl2.
I maintain an os-sensitive package that has
I know all about that. That's not what this issue is for. |
Beta Was this translation helpful? Give feedback.
-
Got it. The image needs to run on GH actions. It looks to me like creating such windows images is still experimental and a manual process: https://docs.docker.com/build/buildkit/#buildkit-on-windows I'm not sure how long it will take until this becomes an option for automating it here: |
Beta Was this translation helpful? Give feedback.
-
Hi!
Thanks for the valuable project :)
I am running verdaccio in GitHub Actions for Linux, macOS, Windows.
To run Linux-based container images on Windows,
Hiper-V
should be turned on.But it's turned off on GitHub Actions' Windows runners and users cannot change this setting.
Thus we cannot run verdaccio from Docker on Windows.
As a workaround, I am running it naively through
npm
, which is not ideal in my case.Therefore I hope Windows-based images to be provided.
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions