Closed misha-erm closed 4 years ago
Hello, Can we merge this, please? @aldeed @rosshadden
@MikeYermolayev If your needs are such that you need git
in the image so you can use it with npm, I think your best course of action is to extend the image and add git
to your own. A case for git
could certainly be made based around it being generally helpful in a dev environment, but with your specific use case it just doesn't make sense to add to the image. You would run into the same problem with the node-prod image when you go to use it for production, and in that case the "generally helpful in a dev environment" argument loses its ground.
@rosshadden thanks for the reply. My first idea was to do it locally specifically for my use case but the reason why I created this PR is that the git is present in node-prod image https://github.com/reactioncommerce/docker-base/blob/trunk/images/node-prod/12.14.1-v2/Dockerfile#L4
And, as you can see v2 was created for prod but not for the dev environment. And as you can see the documentation claims that git repos should be OK
Looks like there is some inconsistency Thanks
Well why didn't you say so? That's a great point, thanks!
sorry for the unclear description) thanks
Git is not installed in node-dev image so it's not possible to use git repos as packages