Setup git via windows docker file

后端 未结 4 1138
被撕碎了的回忆
被撕碎了的回忆 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:48

    You are correct, both Windows and Linux containers generally focus on running headless applications (i.e. without GUI).

    It sounds like you want to create a container image based on the nanoserver image that has git?

    Chocolatey is a great idea.

    If you give me the broader context of your goals I can help you further.

    Cheers :)

提交回复
热议问题