-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Question] Official Docker image Yarn+Nodejs #1577
Comments
Not official, but I found this one https://hub.docker.com/r/kkarczmarczyk/node-yarn/ Anyway, it's pretty easy to setup one if you need a specific node version. FROM node:6.9.1
RUN npm install -g yarn
... |
Note that installing Yarn through npm (as @goenning suggested above) requires you to have npm installed. If you use a minimal Docker container as a base, you may only have Node.js installed, not npm (particularly if you're using Debian or Ubuntu, as npm is packaged separately to Node.js). In those cases, the Debian repo should work 😄 |
Oh, that's new to me. I thought that all Node.js packages came with NPM. 👍 |
Now available as
|
@Daniel15 Thanks for this, is it being kept up-to-date? I see there hasn't been a new tag in 2 months. |
I discontinued it as Node.js now include Yarn in their official images. Thanks for the reminder @OliverJAsh, I added a comment to the Docker Hub explaining this 😃 |
Oh wow, I had no idea! Thanks @Daniel15 |
Hey,
is there an official supported docker image with yarn and nodejs preinstalled that i can use for CI?
The text was updated successfully, but these errors were encountered: