RocketMap icon indicating copy to clipboard operation
RocketMap copied to clipboard

Error with docker build

Open iExad opened this issue 10 years ago • 7 comments

When docker container is building docker build -t pogomap . .....

(21/21) Installing nodejs (6.2.0-r0)
Executing busybox-1.24.2-r9.trigger
OK: 221 MiB in 49 packages
/usr/bin/grunt -> /usr/lib/node_modules/grunt-cli/bin/grunt
/usr/lib
└─┬ [email protected]
  ├─┬ [email protected]
  │ └─┬ [email protected]
  │   ├─┬ [email protected]
  │   │ └── [email protected]
  │   ├── [email protected]
  │   ├─┬ [email protected]
  │   │ └─┬ [email protected]
  │   │   ├── [email protected]
  │   │   └── [email protected]
  │   ├── [email protected]
  │   └── [email protected]
  ├── [email protected]
  ├─┬ [email protected]
  │ └── [email protected]
  └── [email protected]

And after that I've problem

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
Killed
The command '/bin/sh -c apk add --no-cache build-base nodejs  && npm install -g grunt-cli  && npm install  && npm run-script build  && npm uninstall -g grunt-cli  && rm -rf node_modules  && apk del build-base nodejs' returned a non-zero code: 137

or

npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN prefer global [email protected] should be installed with -g

> [email protected] install /usr/src/app/node_modules/node-sass
> node scripts/install.js



The command '/bin/sh -c apk add --no-cache build-base nodejs  && npm install -g grunt-cli  && npm install  && npm run-script build  && npm uninstall -g grunt-cli  && rm -rf node_modules  && apk del build-base nodejs' returned a non-zero code: 1

docker images show me

root@dockermap:~/PokemonGo-Map# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
<none>              <none>              7179571a4a75        22 minutes ago      175.3 MB
python              2.7-alpine          54a68be53e15        2 weeks ago         56.45 MB

iExad avatar Aug 08 '16 08:08 iExad

npm update -g graceful-fs@latest npm update -g minimatch@latest

npm install -g node-gyp

LIJE avatar Aug 08 '16 09:08 LIJE

npm update -g graceful-fs@latest npm update -g minimatch@latest

npm install -g node-gyp

I must write it to Docker file?

iExad avatar Aug 08 '16 11:08 iExad

no, in the command line, one row at a time.

LIJE avatar Aug 08 '16 11:08 LIJE

But I can't do it in docker container, container is not worked.

iExad avatar Aug 08 '16 11:08 iExad

@iExad this should've been fixed with #105

brsntus avatar Aug 08 '16 13:08 brsntus

@brunoasantos but Dockerfile not fixed yet in master branch

iExad avatar Aug 08 '16 13:08 iExad

There is no master branch, it was fixed and merged to develop.

chuyskywalker avatar Aug 08 '16 14:08 chuyskywalker