2016-06-02 12:14:57 +00:00
|
|
|
FROM docker:git
|
2016-06-02 12:30:15 +00:00
|
|
|
|
2018-05-04 11:06:23 +00:00
|
|
|
ENV VERSION=v8.11.1 NPM_VERSION=latest
|
2016-06-02 12:37:52 +00:00
|
|
|
ENV CONFIG_FLAGS="--fully-static" DEL_PKGS="libgcc libstdc++" RM_DIRS=/usr/include
|
2016-06-02 12:30:15 +00:00
|
|
|
|
2018-05-04 11:06:23 +00:00
|
|
|
RUN apk add --no-cache \
|
|
|
|
openssl \
|
|
|
|
ca-certificates \
|
|
|
|
bash \
|
|
|
|
curl \
|
|
|
|
make \
|
|
|
|
gcc \
|
|
|
|
g++ \
|
|
|
|
python \
|
|
|
|
linux-headers \
|
|
|
|
paxctl \
|
|
|
|
libgcc \
|
|
|
|
libstdc++ \
|
|
|
|
gnupg \
|
|
|
|
nodejs \
|
|
|
|
yarn \
|
|
|
|
&& update-ca-certificates
|
2017-03-28 23:15:29 +00:00
|
|
|
|
2017-03-28 23:18:07 +00:00
|
|
|
RUN curl -o- -L https://yarnpkg.com/install.sh | sh
|
2018-05-04 11:06:23 +00:00
|
|
|
RUN yarn global add @shipzone/npmci
|
2017-06-30 15:04:49 +00:00
|
|
|
RUN npm config set unsafe-perm true
|
2017-03-28 23:15:29 +00:00
|
|
|
ENV PATH /root/.yarn/bin:$PATH
|