Skip to content

Instantly share code, notes, and snippets.

@coderkevin
Created January 30, 2018 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coderkevin/b556dbac331c55b6450595c620fc33d6 to your computer and use it in GitHub Desktop.
Save coderkevin/b556dbac331c55b6450595c620fc33d6 to your computer and use it in GitHub Desktop.
npm run build-docker
docker build --build-arg commit_sha=2ab204a4c9bd056faece7d4563cb7d78adc77a36 -t wp-calypso .
Sending build context to Docker daemon 41.74MB
Step 1/16 : FROM node:8.9.3
---> 2eeae8debf3d
Step 2/16 : LABEL maintainer "Automattic"
---> Using cache
---> 1161577eed41
Step 3/16 : WORKDIR /calypso
---> Using cache
---> fe93c697529e
Step 4/16 : ENV CONTAINER 'docker'
---> Using cache
---> 8d1b1b7325c6
Step 5/16 : ENV NODE_PATH /calypso/server:/calypso/client
---> Using cache
---> 01da4eae9149
Step 6/16 : COPY ./env-config.sh /tmp/env-config.sh
---> Using cache
---> e943b964c849
Step 7/16 : RUN bash /tmp/env-config.sh
---> Using cache
---> c1431b00b6d1
Step 8/16 : COPY ./package.json ./npm-shrinkwrap.json /calypso/
---> 60d4f3a75637
Step 9/16 : RUN true && npm install --production && rm -rf /root/.npm && true
---> Running in 87bb2bd84e8b
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar ENOENT: no such file or directory, open '/calypso/node_modules/.staging/chalk-87de3a55/templates.js'
npm WARN tar ENOENT: no such file or directory, open '/calypso/node_modules/.staging/uuid-88c3da43/v1.js'
npm WARN tar ENOENT: no such file or directory, open '/calypso/node_modules/.staging/uuid-88c3da43/v3.js'
npm WARN tar ENOENT: no such file or directory, open '/calypso/node_modules/.staging/uuid-88c3da43/v4.js'
npm WARN tar ENOENT: no such file or directory, open '/calypso/node_modules/.staging/uuid-88c3da43/v5.js'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: expand-range@1.8.2 (node_modules/expand-range):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc= integrity checksum failed when using sha1: wanted sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc= but got sha1-ZcNWeWD/KuC5i36iRa2dztOUaKg=. (2759 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha1-dl52B8gFVFK7pvCwUllTUJhgNt4= integrity checksum failed when using sha1: wanted sha1-dl52B8gFVFK7pvCwUllTUJhgNt4= but got sha1-18zZDZ1bKrP7m9jeSyM1w1R3paA=. (7859 bytes)
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm WARN tar zlib error: unexpected end of file
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-01-30T15_11_34_071Z-debug.log
The command '/bin/sh -c true && npm install --production && rm -rf /root/.npm && true' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment