Setup git via windows docker file

后端 未结 4 1178
被撕碎了的回忆
被撕碎了的回忆 2021-01-22 19:18

I write Dockerfile which is based on windowsnanoserver. I need to add to this image git. In order to achieve it I did the following:

RUN Invoke-WebR         


        
4条回答
  •  感动是毒
    2021-01-22 19:42

    You can download and use the Git Thumbdrive edition: https://git-scm.com/download/win

    look for the link under:

    Git for Windows Portable ("thumbdrive edition")

    E.G.: https://github.com/git-for-windows/git/releases/download/v2.23.0.windows.1/PortableGit-2.23.0-64-bit.7z.exe

提交回复
热议问题