Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Docker not working on Centos 7. #1081

Closed
RonanOD opened this issue May 10, 2017 · 0 comments
Closed

Docker not working on Centos 7. #1081

RonanOD opened this issue May 10, 2017 · 0 comments

Comments

@RonanOD
Copy link
Contributor

RonanOD commented May 10, 2017

Expected behavior:
Build from DockerFile on Centos 7

Actual behavior:
Failure with following stacktrace

  • node-uuid@1.4.7 node_modules/npm/node_modules/request/node_modules/node-uuid
    npm ERR! Linux 3.10.0-514.16.1.el7.x86_64
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "npm"
    npm ERR! node v6.10.3
    npm ERR! npm v3.10.10
    npm ERR! path /usr/lib/node_modules/npm/.github
    npm ERR! code ENOTEMPTY
    npm ERR! errno -39
    npm ERR! syscall rmdir
    npm ERR! ENOTEMPTY: directory not empty, rmdir '/usr/lib/node_modules/npm/.github'
    npm ERR!
    npm ERR! If you need help, you may report this error at:
    npm ERR! https://github.com/npm/npm/issues
    npm ERR! Please include the following file with any support request:
    npm ERR! /usr/src/app/npm-debug.log
    The command '/bin/sh -c npm install -g npm && npm install -g ember-cli@latest && npm install -g bower' returned a non-zero code: 217

Steps to reproduce:
Grab latest from master branch, then try to do docker build -t hospitalrun-frontend .

Screenshots (if applicable):

OS and Browser:
Centos 7

RonanOD added a commit to RonanOD/hospitalrun-frontend that referenced this issue May 10, 2017
jkleinsc pushed a commit that referenced this issue May 18, 2017
* Fix for Dockerfile issues building on CentOs 7. See issue #1081

* Improved fix based on @jkleinsc suggestions
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant