Skip to content

Update Dockerfile#305

Closed
MCyprien wants to merge 1 commit intoapache:masterfrom
MCyprien:patch-1
Closed

Update Dockerfile#305
MCyprien wants to merge 1 commit intoapache:masterfrom
MCyprien:patch-1

Conversation

@MCyprien
Copy link

Add nodejs and npm for Fauxton

Add nodejs and npm for Fauxton
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel cold for blindly executing arbitrary shell script. Isn't there a more secure and explicit way to add those repository?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, we should do what the script does directly, not download it first. It is MIT licensed, we could keep a local copy.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello everyone,
Nice to have feed back :D.
I found it in http://nodejs.org/download/ there is a link "Installing from package managers" so I took it . I thought it was a good think.
Sorry if I did something wrong
We can also download the source and install manually if you want.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MCyprien you didn’t do anything wrong, no worries! :)

It’s just that we have to think about beyond just having someone interactively installing Node.js for CouchDB, hence our comments.

The best way forward would be to import the file as a dependency (needs an update in the NOTICE and LICENSE files) and then call it locally.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or we could just borrow a few bits from https://github.com/klaemo/docker-couchdb/blob/master/2.0-dev/Dockerfile#L32-L35 if @klaemo doesn't mind (:

P.S. @janl, another question is a reason to maintain our Dockerfile when @klaemo keep his well. May be we could unite our effort on this with Clemens instead of doing the same work twice?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#facepalm, that’s a great idea. — Let’s see if @klaemo is up for contributing his work :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@klaemo
Copy link
Contributor

klaemo commented Dec 21, 2015

This is being worked on in #340, so this PR can be closed, I'd say.

@wohali wohali closed this Mar 19, 2017
lag-linaro pushed a commit to lag-linaro/couchdb that referenced this pull request Oct 25, 2018
Fix compiler invocation on multiarch Linux
janl added a commit that referenced this pull request Jan 5, 2020
document bionic availability
nickva pushed a commit to nickva/couchdb that referenced this pull request Sep 7, 2022
document bionic availability
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

Successfully merging this pull request may close these issues.

5 participants