Commit Graph

1912 Commits

Author SHA1 Message Date
Tianon Gravi 181c14e559 Slimmer slim variants and a few consistency fixes
This removes almost all of the dependencies from the slim variant.  The rationale for this is that the slim variants are intentionally supposed to be for people who really know what they're doing and want to create an image that's as small as is reasonably possible for their very specific use case (meaning that if they want to be able to, for example, `npm install` native modules, they'll need to know which packages that requires), where the normal variant is supposed to be as generic as possible for the majority of use cases (hence why it is `FROM buildpack-deps` -- see https://registry.hub.docker.com/_/buildpack-deps/ for more information about that and what's included there).

This also updates `FROM buildpack-deps` to be the more explicit (but currently equivalent) `FROM buildpack-deps:jessie`, and updated the slim variants to use `debian:jessie` instead of `debian:wheezy` so that they all have the same base underneath.

```console
$ docker images node
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
node                0.8-slim            3c0b9c2ee34f        4 hours ago         286.3 MB
node                0.8                 45c9764d3191        4 hours ago         704.1 MB
node                0.11-slim           869731dd5c7f        4 hours ago         296.2 MB
node                0.11                c26e7af3ade7        4 hours ago         714 MB
node                0.10-slim           af6b79e3e7dd        4 hours ago         287.3 MB
node                0.10                9787c55efe92        4 hours ago         705 MB
$ ./generate-stackbrew-library.sh | sed 's!joyent/docker-node!infosiftr/node!' > node
$ bashbrew build ./node
Fetching node (git://github.com/infosiftr/node) ...
Processing node:0.10.35 ...
...
Processing node:0.8-slim ...
$ docker images node
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
node                0.8-slim            ef20a87f7564        39 seconds ago      149.3 MB
node                0.8                 a62c349fcfbd        2 minutes ago       694.6 MB
node                0.11-slim           9cf495665fa1        3 minutes ago       159.2 MB
node                0.11                9671c6b7befe        6 minutes ago       704.5 MB
node                0.10-slim           eda61ceff5e2        7 minutes ago       150.3 MB
node                0.10                2895ad48803c        10 minutes ago      695.6 MB
```
2015-01-26 09:59:13 -07:00
Christopher Horrell ab7e765e3d Added fingerprint for Julien Gilli 2015-01-21 12:18:44 -05:00
Derek Crudgington 70edbe3867 Bumped node to version 0.11.15 2015-01-21 08:17:40 -06:00
Christopher Horrell c561710056 Bumped npm to version 2.2.0 2015-01-19 19:33:52 +00:00
Christopher Horrell add64aa49b Switched to MIT license
Same license as Node.js
2015-01-14 09:39:30 -05:00
Christopher Horrell 9f7521eff0 Change email address 2015-01-13 14:45:21 -05:00
Christopher Horrell 7222ca5ead Added helper scripts for updating
update.sh updates the docker files with the latest version(s) of
Node.js and npm.

generate-stackbrew-library.sh is used for updating the library file
2015-01-13 14:44:22 -05:00
Christopher Horrell 9f0dc752bd Added LICENSE file
This is the same MPL license used for SDC
2015-01-13 14:29:02 -05:00
Christopher Horrell 21e69d768f Switch from pgp.mit.edu to pool.sks-keyservers.net 2015-01-12 15:15:18 -05:00
Christopher Horrell 43da1b5ca2 Update to NPM 2.1.18 2015-01-12 15:12:01 -05:00
Christopher Horrell 4c84bad627 Update to Node.js 0.10.35 2015-01-12 15:05:53 -05:00
Christopher Horrell 0c2ff5172a Initial commit 2014-12-12 12:35:30 -05:00