Skip to content

Instantly share code, notes, and snippets.

@magnusstubman
Created May 29, 2014 00:02
Show Gist options
  • Save magnusstubman/f2f65222a3ee4bd34f91 to your computer and use it in GitHub Desktop.
Save magnusstubman/f2f65222a3ee4bd34f91 to your computer and use it in GitHub Desktop.
[~/dev/dockerplay/tut] docker version
Client version: 0.11.1
Client API version: 1.11
Go version (client): go1.2.1
Git commit (client): fb99f99
Server version: 0.11.1
Server API version: 1.11
Git commit (server): fb99f99
Go version (server): go1.2.1
[~/dev/dockerplay/tut] docker build .
Uploading context 866.8 kB
Uploading context
Step 0 : FROM centos:6.4
---> 539c0211cd76
Step 1 : RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
---> Using cache
---> 6e792358957e
Step 2 : RUN yum install -y npm
---> Using cache
---> 2e848d57ad4d
Step 3 : ADD . /src
---> 765e48871a19
Removing intermediate container d54555f37336
Step 4 : RUN cd /src; npm install
---> Running in 91f642b47596
npm ERR! install Couldn't read dependencies
npm ERR! Error: ENOENT, open '/src/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Linux 3.14.1-tinycore64
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /src
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.6
npm ERR! path /src/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /src/npm-debug.log
npm ERR! not ok code 0
2014/05/29 02:00:00 The command [/bin/sh -c cd /src; npm install] returned a non-zero code: 34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment