antfu-collective / ni

💡 Use the right package manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release a docker image especially for the CI situation

LinuxSuRen opened this issue · comments

commented

Clear and concise description of the problem

I want to use ni in my CI environment. But I'm thinking about if it's reasonble to avoid run npm i -g @antfu/ni everytime. Instead, having a docker image which already consist ni.

Suggested solution

Provide a Dockerfile. Build and push the image to ghcr.io via GitHub Actions.

I'd be happy to help on this if the active maintainers believe it's ok.

Alternative

No response

Additional context

No response

Validations

Thanks for bringing this up. But sorry as I don't use Docker myself, I'll leave that to the community to build and maintian.

commented

Please see also the following project if there is anyone have the same use cases.

https://github.com/LinuxSuRen/antfu-ni-docker