Merge pull request #274 from chorrell/node-user-home
Update for Node.js v7.2.0
This commit is contained in:
commit
02fb483ac3
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:jessie
|
FROM buildpack-deps:jessie
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:jessie-curl
|
FROM buildpack-deps:jessie-curl
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:wheezy
|
FROM buildpack-deps:wheezy
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:jessie
|
FROM buildpack-deps:jessie
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,7 @@ FROM alpine:3.4
|
||||||
ENV NPM_CONFIG_LOGLEVEL info
|
ENV NPM_CONFIG_LOGLEVEL info
|
||||||
ENV NODE_VERSION 4.6.2
|
ENV NODE_VERSION 4.6.2
|
||||||
|
|
||||||
RUN addgroup -S node \
|
RUN adduser -D -u 1000 node \
|
||||||
&& adduser -D -S -h /var/cache/node -s /sbin/nologin -G node node \
|
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
libstdc++ \
|
libstdc++ \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:jessie-curl
|
FROM buildpack-deps:jessie-curl
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:wheezy
|
FROM buildpack-deps:wheezy
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:jessie
|
FROM buildpack-deps:jessie
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,7 @@ FROM alpine:3.4
|
||||||
ENV NPM_CONFIG_LOGLEVEL info
|
ENV NPM_CONFIG_LOGLEVEL info
|
||||||
ENV NODE_VERSION 6.9.1
|
ENV NODE_VERSION 6.9.1
|
||||||
|
|
||||||
RUN addgroup -S node \
|
RUN adduser -D -u 1000 node \
|
||||||
&& adduser -D -S -h /var/cache/node -s /sbin/nologin -G node node \
|
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
libstdc++ \
|
libstdc++ \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:jessie-curl
|
FROM buildpack-deps:jessie-curl
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:wheezy
|
FROM buildpack-deps:wheezy
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:jessie
|
FROM buildpack-deps:jessie
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
@ -18,7 +19,7 @@ RUN set -ex \
|
||||||
done
|
done
|
||||||
|
|
||||||
ENV NPM_CONFIG_LOGLEVEL info
|
ENV NPM_CONFIG_LOGLEVEL info
|
||||||
ENV NODE_VERSION 7.1.0
|
ENV NODE_VERSION 7.2.0
|
||||||
|
|
||||||
RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \
|
RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \
|
||||||
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
|
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
FROM alpine:3.4
|
FROM alpine:3.4
|
||||||
|
|
||||||
ENV NPM_CONFIG_LOGLEVEL info
|
ENV NPM_CONFIG_LOGLEVEL info
|
||||||
ENV NODE_VERSION 7.1.0
|
ENV NODE_VERSION 7.2.0
|
||||||
|
|
||||||
RUN addgroup -S node \
|
RUN adduser -D -u 1000 node \
|
||||||
&& adduser -D -S -h /var/cache/node -s /sbin/nologin -G node node \
|
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
libstdc++ \
|
libstdc++ \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:7.1.0
|
FROM node:7.2.0
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/app
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:jessie-curl
|
FROM buildpack-deps:jessie-curl
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
@ -18,7 +19,7 @@ RUN set -ex \
|
||||||
done
|
done
|
||||||
|
|
||||||
ENV NPM_CONFIG_LOGLEVEL info
|
ENV NPM_CONFIG_LOGLEVEL info
|
||||||
ENV NODE_VERSION 7.1.0
|
ENV NODE_VERSION 7.2.0
|
||||||
|
|
||||||
RUN buildDeps='xz-utils' \
|
RUN buildDeps='xz-utils' \
|
||||||
&& set -x \
|
&& set -x \
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
FROM buildpack-deps:wheezy
|
FROM buildpack-deps:wheezy
|
||||||
|
|
||||||
RUN groupadd -r node && useradd -r -g node node
|
RUN groupadd --gid 1000 node \
|
||||||
|
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
# gpg keys listed at https://github.com/nodejs/node
|
# gpg keys listed at https://github.com/nodejs/node
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
|
|
@ -18,7 +19,7 @@ RUN set -ex \
|
||||||
done
|
done
|
||||||
|
|
||||||
ENV NPM_CONFIG_LOGLEVEL info
|
ENV NPM_CONFIG_LOGLEVEL info
|
||||||
ENV NODE_VERSION 7.1.0
|
ENV NODE_VERSION 7.2.0
|
||||||
|
|
||||||
RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \
|
RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \
|
||||||
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
|
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \
|
||||||
Loading…
Reference in New Issue