Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile needs update to avoid yum install failire for npm #2

Closed
dantian opened this issue Aug 16, 2013 · 2 comments
Closed

Dockerfile needs update to avoid yum install failire for npm #2

dantian opened this issue Aug 16, 2013 · 2 comments

Comments

@dantian
Copy link

dantian commented Aug 16, 2013

The following line in the Dockerfile will install a specific version of npm from the epel repo (e,g., http://mirror.cogentco.com/pub/linux/epel/6/i386/)

RUN yum install -y npm-1.2.17-5.el6

The install will fail as the specified version no longer exists on the epel repo, replaced with newer versions of the package.

It is best to replace the above line in the Docker file with the following line:

RUN yum install -y npm

This will install the latest version of npm on the epel repo.

@gasi
Copy link
Owner

gasi commented Aug 16, 2013

Thanks. If you open a pull request, I’ll merge it :)

@dantian
Copy link
Author

dantian commented Aug 16, 2013

The issue get resolved by the merge.

@dantian dantian closed this as completed Aug 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants