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

many to many - Django Rest Framework ManyToMany filter multiple values -

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

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