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

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

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