Commit Graph

25 Commits

Author SHA1 Message Date
Eyal Zekaria 838d873498
Symlink yarn directory
this will allow for an easier upgrade/downgrade of yarn, e.g:

```
FROM node:6-slim

ENV YARN_VERSION 1.5.1

RUN curl -fSLO --compressed
"https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz"
&&\
    tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ &&\
    ln -snf /opt/yarn-v$YARN_VERSION /opt/yarn &&\
    rm yarn-v$YARN_VERSION.tar.gz
```
2018-03-09 11:41:09 +01:00
Christopher Horrell 8498ff5302 Drop keyserver.pgp.com
See https://github.com/docker-library/official-images/pull/4006#issuecomment-365420103

Also try pgp.mit.edu last instead of first and try p80.pool.sks-keyservers.net
first
2018-02-20 13:18:24 -05:00
Paolo Mainardi 4e5eda8fed remove :80 from ipv4 host 2018-02-06 17:35:01 +01:00
Paolo Mainardi fb4d1b39fe fix templates 2018-02-05 23:48:07 +01:00
Paolo Mainardi 43458812d3 better support of gpg keys installation behind a proxy 2018-02-05 13:52:34 +01:00
Christopher Horrell 0d53412448 Use --no-same-owner to enforce root ownership 2017-11-07 20:46:19 -05:00
Christopher Horrell ca6f742e5c Set ownership for Node.js tarball. Fixes #505 2017-11-07 20:46:19 -05:00
Peter Dave Hello 94a739297f Update GPG keys 2017-11-01 03:33:36 +08:00
Laurent Goderre 9861e1b843 Revert log level to npm's default level
Fixes #528
2017-10-18 12:05:45 -04:00
Robert (Jamie) Munro 9d82d3ff6e Update list of gpg keys (#546)
* Update list of gpg keys 

from https://github.com/nodejs/node#release-team

The former first key no longer seems to exist on the keyservers.

* Update gpg keys in other templates
2017-10-18 14:56:17 +02:00
Yihong Wang 8305e4c32f Support Linux on ppc64le
- Add an architectures file to list supported architectures and
  variants.
- Add new `ARCH` ENV into Dockerfile. It represents the architecture.
- Add a functions.sh to put utility functions, including
  - get_arch: get the current running architecture.
  - get_variants: get corresponding supported variants based on the
    running architecture.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
2017-07-20 10:41:22 -07:00
Peter Petrov 1b7702bd04 Change Yarn installation method. Tarball is used now. 2017-05-16 03:55:35 +03:00
Peter Petrov 7014a1a7db Reorder keyservers 2017-05-15 05:20:23 +03:00
Peter Dave Hello 178e7a18a2 Enable curl "--compressed" 2017-05-04 00:03:16 +08:00
Christopher Horrell 06bb597f0a Try other key servers if ha.pool.sks-keyservers.net is unreachable
If ha.pool.sks-keyservers.net times out we try pgp.mit.edu then
keyserver.pgp.com.

This should hopefully resolve the occasional build errors we see in
Travis and for issues like #340
2017-04-06 15:52:48 -04:00
Christopher Horrell 0633e31db9
Merge pull request #358 from chorrell/v7.7.3
Update for Node.js v7.7.3
2017-03-15 18:59:17 +02:00
Peter Petrov debf4ea17c Build stability improvements (curl & gpg) 2017-03-01 02:12:21 +02:00
Peter Petrov a86d32ab9a Add Yarn 2017-02-25 00:58:44 +02:00
Christopher Horrell 0f84465129 Update for Node.js v7.6.0; add new sig
See:

- https://nodejs.org/en/blog/release/v7.6.0/

Also Adds fignerprint for Italo A. Casas

See:

- https://github.com/nodejs/node#release-team
2017-02-22 09:00:19 -05:00
Sebastian Tschan 3d8dc7666d Add node group/user with gid/uid 1000 and a home directory.
This is a workaround for boot2docker issue 581, see
https://github.com/boot2docker/boot2docker/issues/581
2016-11-15 16:02:51 +01:00
Laurent Goderre 9234116f2a Added a non root user
Allows running non-root commands (such as npm). Fixes #253
2016-10-25 14:35:44 -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 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
Laurent Goderre ced0aa8af2 Added templates for generating the variants 2016-04-08 09:10:42 -04:00