node.js - update git version in docker container -


i implementing node.js application in docker, needs make use of git worktree feature. however, if :

run apt-get update && apt-get install -y git=2.10.0 

it can't find other version after 2.1.0

i building image :

from node:4.4.2  

how can latest git version supports worktree feature installed on docker container

as of time of post, no package repos debian include version beyond 2.9. if need newer version, you'll need download , install source documented on git-scm, or find repo.


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

Slow performance first queries on SQL Azure -

Java Entity Manager - JSON reader was expecting a value but found 'db' -