nodesource / docker-node

Dockerfiles for building docker images with the NodeSource Node.js binaries baked in.
MIT License
192 stars 22 forks source link

Make Alpine-based images #51

Open DavidBruant opened 8 years ago

DavidBruant commented 8 years ago

Docker is moving all the official images to Alpine as base distro. See https://news.ycombinator.com/item?id=11000827 Example for Ruby

There are various efforts that do that for Node:

but I don't see official images. I'd be cool if NodeSource provided official alpine-based images. Thanks :-)

retrohacker commented 8 years ago

Thank you for the well thought out issue @DavidBruant :smile:,

A minimal Node.js container is absolutely on our radar, and has been for quite some time.

The issue is stability. This repo is designed with production use in mind, and I assert that the images we provide will be stable in production. I can't make the same assertion about Alpine and similar distributions yet. In fact, dante was built in preparation for the release of a minimal distribution so we can certify its stability before shipping.

ncopa landed two pull requests recently that are great steps forward in this initiative.

In regards to the hacker news link: https://github.com/nodejs/docker-node/issues/46#issuecomment-178168365

Althogh I can't give a timeline yet, I hope that this issue shows that a minimal Docker image is not absent from this repo for lack of trying!