Closed retrohacker closed 9 years ago
Hi @wblankenship, thanks for maintaining these Dockerfiles!
The git
package has an recommends dependency on ssh-client
.
The use of Git URLs as dependencies in package.json
can result in a failed attempt to use the missing ssh
command when running npm install
. This is always the case when using the common Github user/repo
format.
Perhaps installing ssh-client
via apt-get
in the Dockerfile would be enough for this example?
Hey @lovell,
You are absolutely right. We should be able to add ssh-client
to this line to fix for debian and ubuntu, https://github.com/nodesource/docker-node/blob/master/dockerfiles/debian.js#L48
Will take a look at this for our RHEL flavored images as well.
Thanks @wblankenship.
Whilst you're looking at this, I think the RHEL images also need the equivalent of build-essential
to be able to compile native addons, perhaps by including (the dependency tree of) a package like g++
.
Hey @lovell and @koresar,
This repo had quickly become unweildy. I just landed a PR (https://github.com/nodesource/docker-node/pull/34) that greatly reduced the build times for running integration tests locally.
I've got a proposal for adding ssh-client and the equivalent to build-essentials, just waiting for the tests to pass and will open a PR before the EOD.
I wish GitHub had the "reactions" feature of the Slack. In other words - :+1:
On Tue, 3 Nov 2015 08:20 William Blankenship notifications@github.com wrote:
Hey @lovell https://github.com/lovell and @koresar https://github.com/koresar,
This repo had quickly become unweildy. I just landed a PR (#34 https://github.com/nodesource/docker-node/pull/34) that greatly reduced the build times for running integration tests locally.
I've got a proposal for adding ssh-client and the equivalent to build-essentials, just waiting for the tests to pass and will open a PR before the EOD.
— Reply to this email directly or view it on GitHub https://github.com/nodesource/docker-node/issues/8#issuecomment-153160069 .
Great, thanks both!
Are the recommended packages necessary?