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

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -