Commit Graph

51 Commits

Author SHA1 Message Date
Christopher Horrell 1c65c4ed37 Set ENV for NODE_ENV
This ensures that the value of NODE_ENV is made available to the CMD
context. This ensures commands such as `npm start` or `node index.js`
are using the correct NODE_ENV.

See comments in
https://github.com/docker-library/official-images/pull/2156
2016-09-19 16:36:04 -04:00
Christopher Horrell 3e39810622 Add NODE_ENV ARG to all Dockerfiles 2016-09-19 11:12:54 -04:00
Christopher Horrell 5ad063e3ba Add symlink to nodejs. Fixes #181
This adds compatibility with the Debian/Ubuntu  packages that assume a
'nodejs' binary
2016-08-29 15:23:21 -04:00
Christopher Horrell 50b56d39a2 Update for Node.js v0.10.46, v0.12.15, v4.4.6 and v5.12.0
See:

- https://github.com/nodejs/LTS/issues/114
- https://nodejs.org/en/blog/release/v0.10.46/
- https://nodejs.org/en/blog/release/v0.12.15/
- https://nodejs.org/en/blog/release/v4.4.6/
- https://nodejs.org/en/blog/release/v5.12.0/
2016-06-23 20:48:47 -04:00
Christopher Horrell 5e058d36cc Update for v0.10.45 2016-05-06 09:21:55 -04:00
Christopher Horrell b3367b8845 Revert "Moved the environment variables to the top of the Dockerfile" 2016-04-26 15:38:38 -04:00
Laurent Goderre 8f4f83a54a Moved the environment variables to the top of the Dockerfile 2016-04-25 09:22:43 -04:00
Christopher Horrell 5e6d1e950a Update for v5.11.0
Also formatting tweaks to make 0.10 and 0.12 consistent with the other
images
2016-04-21 19:00:03 -04:00
Christopher Horrell a3a1c6a2f4 Use buildpack-deps:jessie-curl for 0.10 and 0.12 slim images 2016-04-13 16:32:33 -04:00
Christopher Horrell b39ddbb7be White space 2016-04-01 07:57:15 -04:00
Christopher Horrell 9d0a1897a9 Remove npm update logic for v0.10. Closes #114 2016-04-01 07:53:43 -04:00
Christopher Horrell f8deeccd53 Update for v0.10.44 2016-04-01 07:50:15 -04:00
Christopher Horrell 03d0a92fc4 Update for v0.10.43 2016-03-03 22:40:38 -05:00
Tianon Gravi 3626d29b1e Fix "gpg" usage to stop relying on deprecated and insecure behavior 2016-02-29 10:09:03 -08:00
Christopher Horrell 0c722500f6 Switch to xz compression for all images 2016-02-09 21:18:37 -05:00
Christopher Horrell 337bc9daf4 Update Node.js to v0.10.42 and v0.12.10 2016-02-09 11:15:20 -05:00
Hans Kristian Flaatten 4b1b5052db Add release key for Myles Borins @TheAlphaNerd
PR-URL: #85

Related: nodejs/node#4657

Signed-off-by: Hans Kristian Flaatten <hans.kristian.flaatten@dnt.no>
2016-01-13 23:10:21 +01:00
Hans Kristian Flaatten 4d80297d88 Add release key for Evan Lucas @evanlucas
PR-URL: #85

Related: nodejs/node#4579

Signed-off-by: Hans Kristian Flaatten <hans.kristian.flaatten@dnt.no>
2016-01-13 23:08:33 +01:00
Christopher Horrell 1e28b4b6a0 Update 0.10 to use latest GPG keys 2015-12-03 21:54:45 -05:00
Christopher Horrell 17a074bda5 Update to node v0.10.41 2015-12-03 21:50:48 -05:00
Christopher Horrell d798690bda Update npm to 2.14.1 2015-08-28 10:03:31 -07:00
Christopher Horrell 787d816f90 Update npm to 2.13.3 2015-08-06 09:28:48 -04:00
Tianon Gravi 2ac7cf749a Update "gpg" usage to be more resilient to transient failure
When "gpg" is given multiple keys, it will only exit non-zero if _all_ the keys fail to download, so sometimes we'll get this line succeeding, but a transient failure (network, keyserver, or otherwise) can cause us to get a false positive and a build that fails later at verifying binaries.
2015-07-30 10:56:54 -07:00
Christopher Horrell 840ec06882 Update npm to 2.13.2 2015-07-30 09:46:28 -04:00
Christopher Horrell 9c93908dfc Update node to 0.10.40 2015-07-09 18:30:57 -04:00
Christopher Horrell 3e0d2b62fa Download node binary and SHASUMs via HTTPS. See #23
For the slim variant, we also need to temporarily install
ca-certificates to make this work.
2015-06-23 10:58:18 -07:00
Christopher Horrell 95a8684846 update Node.js to 0.10.39 and npm to 2.11.3 2015-06-22 12:40:42 -07:00
Christopher Horrell cb1434d434 update npm to 2.11.1 2015-06-06 20:50:27 -04:00
Christopher Horrell b5e1ec493d Update npm to 2.11.0 2015-06-01 09:06:11 -04:00
Christopher Horrell 428d5e6976 Update node to 0.12.4 and npm to 2.10.1 2015-05-23 11:56:42 -04:00
Christopher Horrell 530696ff30 Update npm to 2.10.0 and node to 0.12.3 2015-05-15 15:22:30 -04:00
Christopher Horrell 413687b73f Update npm to 2.9.1 2015-05-08 15:29:15 -04:00
Christopher Horrell 3c692e6197 Updated npm to 2.9.0 2015-05-04 15:44:00 -04:00
Christopher Horrell 762a8f163f Update npm to 2.8.4 2015-04-29 16:50:28 -04:00
Christopher Horrell 04e6f537ed Revert "Update npm to 2.7.4"
This reverts commit 758db462f3.

See npm/npm/issues/7836
2015-04-02 10:17:34 -04:00
Christopher Horrell 758db462f3 Update npm to 2.7.4 2015-03-30 14:24:37 -04:00
Christopher Horrell 1a41401108 Update Node.js to 0.10.38 and npm to 2.7.3 2015-03-23 21:18:12 -04:00
Christopher Horrell e7ed4f7f25 Update for Node 0.10.37 and npm 2.7.1 2015-03-14 14:41:29 -04:00
Christopher Horrell 37b4beab21 Updated npm to 2.7.0 2015-03-06 16:41:12 -05:00
Grant Means 3bb9c7ba9e Added Wheezy variants
Updated shell script

Fixing no newline error

Removed 0.11

Added Wheezy variants

Updated shell script
2015-02-10 12:52:25 -05:00
Christopher Horrell a1aefc91ac npm 2.5.0 2015-02-06 19:07:31 +00:00
Christopher Horrell ebfa426f39 Update Node.js to 0.11.16 and npm to 2.4.1 2015-01-30 20:51:41 +00:00
Christopher Horrell 01fe973d3a Merge pull request #2 from infosiftr/slimmer-slim
Slimmer slim variants and a few consistency fixes
2015-01-30 10:17:24 -05:00
Derek Crudgington d23f190e50 Bump for Node 0.10.36 2015-01-26 15:32:05 -06:00
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
Christopher Horrell c561710056 Bumped npm to version 2.2.0 2015-01-19 19:33:52 +00: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