paulbouwer / hello-kubernetes

Provides a demo app to deploy to a Kubernetes cluster. It displays a message, the name of the pod and details of the node it's deployed to.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker build issue

ruzickap opened this issue · comments

Hello.

I tried to build my own docker image of hello-kubernetes but it failed with the following:

pruzicka@peru:/tmp$ git clone https://github.com/paulbouwer/hello-kubernetes.git
Cloning into 'hello-kubernetes'...
remote: Enumerating objects: 47, done.
remote: Total 47 (delta 0), reused 0 (delta 0), pack-reused 47
Unpacking objects: 100% (47/47), done.

pruzicka@peru:/tmp$ cd hello-kubernetes/

pruzicka@peru:/tmp/hello-kubernetes$ docker build --no-cache --build-arg IMAGE_VERSION="1.5" --build-arg IMAGE_CREATE_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`" --build-arg IMAGE_SOURCE_REVISION="`git rev-parse HEAD`" -f Dockerfile -t "hello-kubernetes:1.5" .
STEP 1: FROM node:8.1.0-alpine
STEP 2: ARG IMAGE_CREATE_DATE
--> e2b7778e11159a7e1424b87c84ca8d27a237858623843af3e8a397a7020d0931
STEP 3: FROM e2b7778e11159a7e1424b87c84ca8d27a237858623843af3e8a397a7020d0931
STEP 4: ARG IMAGE_VERSION
--> e46d921f61fc5e811ce82df8e59034bce4b54969dfc8af33b967f0048efe9702
STEP 5: FROM e46d921f61fc5e811ce82df8e59034bce4b54969dfc8af33b967f0048efe9702
STEP 6: ARG IMAGE_SOURCE_REVISION
--> 1fd41214b517592d27f59fbf15adcc026330d3762e40d17c1aed3388817ef155
STEP 7: FROM 1fd41214b517592d27f59fbf15adcc026330d3762e40d17c1aed3388817ef155
STEP 8: LABEL org.opencontainers.image.title="Hello Kubernetes!"       org.opencontainers.image.description="Provides a demo image to deploy to a Kubernetes cluster. It displays a message, the name of the pod and details of the node it's deployed to."       org.opencontainers.image.created=$IMAGE_CREATE_DATE       org.opencontainers.image.version=$IMAGE_VERSION       org.opencontainers.image.authors="Paul Bouwer"       org.opencontainers.image.url="https://hub.docker.com/r/paulbouwer/hello-kubernetes/"       org.opencontainers.image.documentation="https://github.com/paulbouwer/hello-kubernetes/README.md"       org.opencontainers.image.vendor="Paul Bouwer"       org.opencontainers.image.licenses="MIT"       org.opencontainers.image.source="https://github.com/paulbouwer/hello-kubernetes.git"       org.opencontainers.image.revision=$IMAGE_SOURCE_REVISION 
--> d74196ebbc209a93d1b4c947201f03e22f1a577da1ebceaab20b33747fde3d63
STEP 9: FROM d74196ebbc209a93d1b4c947201f03e22f1a577da1ebceaab20b33747fde3d63
STEP 10: RUN mkdir -p /usr/src/app
--> 1bff185a722521479a48a5096323f28cc3f6c526da0925e9a1451cd899bbd110
STEP 11: FROM 1bff185a722521479a48a5096323f28cc3f6c526da0925e9a1451cd899bbd110
STEP 12: WORKDIR /usr/src/app
--> 7a406bc68e4ec7cb316cf727702002f32b6a53b32c9717ebc21d3466722f0145
STEP 13: FROM 7a406bc68e4ec7cb316cf727702002f32b6a53b32c9717ebc21d3466722f0145
STEP 14: COPY package.json /usr/src/app/
--> 1d344902b0e799ad643b0f50764ecf47c3874fd32b5ade8aac547f32e4fcdc45
STEP 15: FROM 1d344902b0e799ad643b0f50764ecf47c3874fd32b5ade8aac547f32e4fcdc45
STEP 16: RUN npm install
npm info it worked if it ends with ok
npm info using npm@5.0.3
npm info using node@v8.1.0
npm info lifecycle hello-kubernetes@1.5.0~preinstall: hello-kubernetes@1.5.0
npm http fetch GET 200 https://registry.npmjs.org/morgan 192ms
npm http fetch GET 200 https://registry.npmjs.org/bytes 206ms
npm http fetch GET 200 https://registry.npmjs.org/express-handlebars 199ms
npm http fetch GET 200 https://registry.npmjs.org/express 207ms
npm http fetch GET 200 https://registry.npmjs.org/accepts 130ms
npm http fetch GET 200 https://registry.npmjs.org/bytes/-/bytes-2.5.0.tgz 179ms
npm http fetch GET 200 https://registry.npmjs.org/array-flatten 145ms
npm http fetch GET 200 https://registry.npmjs.org/body-parser 151ms
npm http fetch GET 200 https://registry.npmjs.org/content-disposition 152ms
npm http fetch GET 200 https://registry.npmjs.org/content-type 154ms
npm http fetch GET 200 https://registry.npmjs.org/cookie-signature 158ms
npm http fetch GET 200 https://registry.npmjs.org/cookie 159ms
npm http fetch GET 200 https://registry.npmjs.org/depd 138ms
npm http fetch GET 200 https://registry.npmjs.org/debug 163ms
npm http fetch GET 200 https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz 82ms
npm http fetch GET 200 https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz 104ms
npm http fetch GET 200 https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz 107ms
npm http fetch GET 200 https://registry.npmjs.org/debug/-/debug-2.6.9.tgz 86ms
npm http fetch GET 200 https://registry.npmjs.org/depd/-/depd-1.1.2.tgz 97ms
npm http fetch GET 200 https://registry.npmjs.org/etag 57ms
npm http fetch GET 200 https://registry.npmjs.org/escape-html 62ms
npm http fetch GET 200 https://registry.npmjs.org/encodeurl 73ms
npm http fetch GET 200 https://registry.npmjs.org/fresh 68ms
npm http fetch GET 200 https://registry.npmjs.org/finalhandler 76ms
npm http fetch GET 200 https://registry.npmjs.org/merge-descriptors 46ms
npm http fetch GET 200 https://registry.npmjs.org/etag/-/etag-1.8.1.tgz 57ms
npm http fetch GET 200 https://registry.npmjs.org/on-finished 50ms
npm http fetch GET 200 https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz 61ms
npm http fetch GET 200 https://registry.npmjs.org/parseurl 56ms
npm http fetch GET 200 https://registry.npmjs.org/path-to-regexp 52ms
npm http fetch GET 200 https://registry.npmjs.org/methods 65ms
npm http fetch GET 200 https://registry.npmjs.org/proxy-addr 49ms
npm http fetch GET 200 https://registry.npmjs.org/qs 58ms
npm http fetch GET 200 https://registry.npmjs.org/range-parser 79ms
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 74ms
npm http fetch GET 200 https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz 82ms
npm http fetch GET 200 https://registry.npmjs.org/send 75ms
npm http fetch GET 200 https://registry.npmjs.org/serve-static 75ms
npm http fetch GET 200 https://registry.npmjs.org/statuses 81ms
npm http fetch GET 200 https://registry.npmjs.org/setprototypeof 91ms
npm http fetch GET 200 https://registry.npmjs.org/type-is 75ms
npm http fetch GET 200 https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz 76ms
npm http fetch GET 200 https://registry.npmjs.org/utils-merge 80ms
npm http fetch GET 200 https://registry.npmjs.org/vary 103ms
npm http fetch GET 200 https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz 85ms
npm http fetch GET 200 https://registry.npmjs.org/glob 95ms
npm http fetch GET 200 https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz 99ms
npm http fetch GET 200 https://registry.npmjs.org/graceful-fs 94ms
npm http fetch GET 200 https://registry.npmjs.org/object.assign 55ms
npm http fetch GET 200 https://registry.npmjs.org/handlebars 66ms
npm http fetch GET 200 https://registry.npmjs.org/promise 55ms
npm http fetch GET 200 https://registry.npmjs.org/basic-auth 54ms
npm http fetch GET 200 https://registry.npmjs.org/on-headers 58ms
npm http fetch GET 200 https://registry.npmjs.org/mime-types 35ms
npm http fetch GET 200 https://registry.npmjs.org/negotiator 64ms
npm http fetch GET 200 https://registry.npmjs.org/http-errors 51ms
npm http fetch GET 200 https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz 56ms
npm http fetch GET 200 https://registry.npmjs.org/raw-body 53ms
npm http fetch GET 200 https://registry.npmjs.org/unpipe 48ms
npm http fetch GET 200 https://registry.npmjs.org/ms 52ms
npm http fetch GET 200 https://registry.npmjs.org/forwarded 38ms
npm http fetch GET 200 https://registry.npmjs.org/ee-first 50ms
npm http fetch GET 200 https://registry.npmjs.org/ipaddr.js 60ms
npm http fetch GET 200 https://registry.npmjs.org/destroy 58ms
npm http fetch GET 200 https://registry.npmjs.org/ms/-/ms-2.0.0.tgz 66ms
npm http fetch GET 200 https://registry.npmjs.org/media-typer 37ms
npm http fetch GET 200 https://registry.npmjs.org/iconv-lite 142ms
npm http fetch GET 200 https://registry.npmjs.org/mime 50ms
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath 57ms
npm http fetch GET 200 https://registry.npmjs.org/inflight 70ms
npm http fetch GET 200 https://registry.npmjs.org/inherits 65ms
npm http fetch GET 200 https://registry.npmjs.org/minimatch 99ms
npm http fetch GET 200 https://registry.npmjs.org/once 85ms
npm http fetch GET 200 https://registry.npmjs.org/mime/-/mime-1.4.1.tgz 82ms
npm http fetch GET 200 https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz 119ms
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute 136ms
npm http fetch GET 200 https://registry.npmjs.org/define-properties 99ms
npm http fetch GET 200 https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz 82ms
npm http fetch GET 200 https://registry.npmjs.org/function-bind 87ms
npm http fetch GET 200 https://registry.npmjs.org/has-symbols 83ms
npm http fetch GET 200 https://registry.npmjs.org/object-keys 82ms
npm http fetch GET 200 https://registry.npmjs.org/neo-async 54ms
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz 50ms
npm http fetch GET 200 https://registry.npmjs.org/source-map 54ms
npm http fetch GET 200 https://registry.npmjs.org/optimist 65ms
npm http fetch GET 200 https://registry.npmjs.org/asap 47ms
npm http fetch GET 200 https://registry.npmjs.org/uglify-js 68ms
npm http fetch GET 200 https://registry.npmjs.org/mime-db 81ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 67ms
npm http fetch GET 200 https://registry.npmjs.org/safer-buffer 108ms
npm http fetch GET 200 https://registry.npmjs.org/minimist 92ms
npm http fetch GET 200 https://registry.npmjs.org/wordwrap 108ms
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion 124ms
npm http fetch GET 200 https://registry.npmjs.org/commander 99ms
npm http fetch GET 200 https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz 174ms
npm http fetch GET 200 https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz 25ms
npm http fetch GET 200 https://registry.npmjs.org/concat-map 28ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match 40ms
npm http fetch GET 200 https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz 138ms
npm http fetch GET 200 https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz 299ms
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz 299ms
npm http fetch GET 200 https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz 294ms
npm http fetch GET 200 https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz 307ms
npm http fetch GET 200 https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz 315ms
npm http fetch GET 200 https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz 317ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz 336ms
npm http fetch GET 200 https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz 341ms
npm http fetch GET 200 https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz 345ms
npm http fetch GET 200 https://registry.npmjs.org/commander/-/commander-2.20.0.tgz 347ms
npm http fetch GET 200 https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz 346ms
npm http fetch GET 200 https://registry.npmjs.org/asap/-/asap-2.0.6.tgz 349ms
npm http fetch GET 200 https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz 343ms
npm http fetch GET 200 https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz 343ms
npm http fetch GET 200 https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz 347ms
npm http fetch GET 200 https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz 348ms
npm http fetch GET 200 https://registry.npmjs.org/methods/-/methods-1.1.2.tgz 350ms
npm http fetch GET 200 https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz 352ms
npm http fetch GET 200 https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz 353ms
npm http fetch GET 200 https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz 348ms
npm http fetch GET 200 https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz 354ms
npm http fetch GET 200 https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz 356ms
npm http fetch GET 200 https://registry.npmjs.org/neo-async/-/neo-async-2.6.0.tgz 355ms
npm http fetch GET 200 https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz 357ms
npm http fetch GET 200 https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz 367ms
npm http fetch GET 200 https://registry.npmjs.org/promise/-/promise-8.0.3.tgz 366ms
npm http fetch GET 200 https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz 375ms
npm http fetch GET 200 https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz 382ms
npm http fetch GET 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz 381ms
npm http fetch GET 200 https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz 378ms
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz 383ms
npm http fetch GET 200 https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz 395ms
npm http fetch GET 200 https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz 408ms
npm http fetch GET 200 https://registry.npmjs.org/qs/-/qs-6.5.2.tgz 402ms
npm http fetch GET 200 https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz 94ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz 94ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/depd/-/depd-1.1.2.tgz 95ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz 94ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/etag/-/etag-1.8.1.tgz 94ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz 95ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz 94ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/mime/-/mime-1.4.1.tgz 94ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz 105ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz 101ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz 102ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz 100ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/ms/-/ms-2.0.0.tgz 101ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz 63ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/debug/-/debug-2.6.9.tgz 158ms
npm WARN hello-kubernetes@1.5.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: escape-html@1.0.3 (node_modules/escape-html):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, chown '/usr/src/app/node_modules/.staging/escape-html-19e422e3/index.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs.realpath@1.0.0 (node_modules/fs.realpath):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, chown '/usr/src/app/node_modules/.staging/fs.realpath-3a55e89b/LICENSE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: commander@2.20.0 (node_modules/commander):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, chmod '/usr/src/app/node_modules/.staging/commander-fac8632f/index.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: promise@8.0.3 (node_modules/promise):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/usr/src/app/node_modules/.staging/promise-259b0227/core.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: forwarded@0.1.2 (node_modules/forwarded):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: EEXIST: file already exists, mkdir '/usr/src/app/node_modules/.staging/forwarded-d3060e18'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: /usr/src/app/node_modules/.staging/forwarded-d3060e18
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fresh@0.5.2 (node_modules/fresh):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/usr/src/app/node_modules/.staging/fresh-a5e59a9e/index.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: proxy-addr@2.0.5 (node_modules/proxy-addr):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: EEXIST: file already exists, mkdir '/usr/src/app/node_modules/.staging/proxy-addr-f1ed8e03'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: /usr/src/app/node_modules/.staging/proxy-addr-f1ed8e03
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: qs@6.5.2 (node_modules/qs):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: EEXIST: file already exists, mkdir '/usr/src/app/node_modules/.staging/qs-e6c3fcbe'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: /usr/src/app/node_modules/.staging/qs-e6c3fcbe
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: object.assign@4.1.0 (node_modules/object.assign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/usr/src/app/node_modules/.staging/object.assign-663fd3ff/auto.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: function-bind@1.1.1 (node_modules/function-bind):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/usr/src/app/node_modules/.staging/function-bind-bb6ddbb5/LICENSE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: parseurl@1.3.3 (node_modules/parseurl):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/usr/src/app/node_modules/.staging/parseurl-16e134eb/LICENSE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cookie@0.3.1 (node_modules/cookie):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/usr/src/app/node_modules/.staging/cookie-a49deb4e/index.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: asap@2.0.6 (node_modules/asap):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, open '/usr/src/app/node_modules/.staging/asap-cefcd946/browser-asap.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mime-db@1.40.0 (node_modules/mime-db):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime '/usr/src/app/node_modules/.staging/mime-db-2f461d15/db.json'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: define-properties@1.1.3 (node_modules/define-properties):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, utime '/usr/src/app/node_modules/.staging/define-properties-a059d705/.travis.yml'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: balanced-match@1.0.0 (node_modules/balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, chmod '/usr/src/app/node_modules/.staging/balanced-match-3704cf2b/LICENSE.md'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: concat-map@0.0.1 (node_modules/concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, chmod '/usr/src/app/node_modules/.staging/concat-map-224ae118/README.markdown'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cookie-signature@1.0.6 (node_modules/cookie-signature):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, chmod '/usr/src/app/node_modules/.staging/cookie-signature-33da35d7/Readme.md'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: accepts@1.3.7 (node_modules/accepts):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, chmod '/usr/src/app/node_modules/.staging/accepts-1f775a13/README.md'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: object-keys@1.1.1 (node_modules/object-keys):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: EEXIST: file already exists, mkdir '/usr/src/app/node_modules/.staging/object-keys-4605d883'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: /usr/src/app/node_modules/.staging/object-keys-4605d883

npm ERR! path /usr/src/app/node_modules/.staging/content-type-2bcca7b5
npm ERR! code EINVAL
npm ERR! errno -22
npm ERR! syscall chown
npm ERR! EINVAL: invalid argument, chown '/usr/src/app/node_modules/.staging/content-type-2bcca7b5'

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-05-06T11_21_24_423Z-debug.log
Error: error building at step {Env:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NPM_CONFIG_LOGLEVEL=info NODE_VERSION=8.1.0 YARN_VERSION=0.24.6 IMAGE_SOURCE_REVISION=ec9d94923148f2a6bf99b725fc9f4e9acb260e3c IMAGE_VERSION=1.5 IMAGE_CREATE_DATE=2019-05-06T11:21:04Z] Command:run Args:[npm install] Flags:[] Attrs:map[] Message:RUN npm install Original:RUN npm install}: error while running runtime: exit status 234

Any idea how to fix it?

Thank you...

@ruzickap - I don't seem to be able to replicate this. I'm going to close this issue for now. I've added a few fixes and updates in PR #9. See if the updated code helps with your issue. If not, please open another issue.