Skip to content

Instantly share code, notes, and snippets.

@brunomartinspro
Created November 20, 2019 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunomartinspro/48adb0011cbd575e5529356a7da629f1 to your computer and use it in GitHub Desktop.
Save brunomartinspro/48adb0011cbd575e5529356a7da629f1 to your computer and use it in GitHub Desktop.
Windows Dockerfile: Installing git in silent mode
run mkdir git
COPY Dependencies\\Git-2.24.0.2-64-bit.exe git
RUN powershell . C:\\git\\Git-2.24.0.2-64-bit.exe /VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment