You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.
FROM node:8-alpine
1
2 ARG NAME
3 ARG EMAIL
4
5 ## Update
6 RUN apk update && \
7 apk upgrade && \
8 apk add --update \
9 docker git \
10 python \
11 python-dev \
12 py-pip \
13 build-base
14
15 RUN pip install virtualenv && \
16 rm -rf /var/cache/apk/*
17
18 RUN git config --global user.name $NAME && \
19 git config --global user.email $EMAIL
20
21 RUN npm i -g nscale
22 # RUN usermod -G docker -a `whoami`
23
24 RUN nscale help
Error ..
....
npm info lifecycle once@1.3.2~preinstall: once@1.3.2
npm info linkStuff nscale@0.16.1
/usr/local/bin/nscale-init -> /usr/local/lib/node_modules/nscale/lib/postinstall.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@0.3.6 (node_modules/nscale/node_modules/nscale-kernel/node_modules/process-container/node_modules/chokidar-child/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@0.3.6: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN request@2.11.4 had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.
npm ERR! path /usr/local/lib/node_modules/nscale/node_modules/.bin/nscale
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/nscale/node_modules/.bin/nscale'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2017-06-27T11_06_55_620Z-debug.log
ERROR: Service 'nscale' failed to build: The command '/bin/sh -c npm i -g nscale' returned a non-zero code: 254
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using this Dockerfile ..
Error ..
The text was updated successfully, but these errors were encountered: