Skip to content

Commit

Permalink
Move git-lfs to c:\mingit\mingw64\bin\
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve authored Sep 13, 2023
1 parent de2a24b commit 8b050d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions windows/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
Write-Host "Retrieving $url..." ; `
Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ; `
Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ; `
Remove-Item GitLfs.zip -Force ; `
$gitLfsPath = 'c:\mingit\mingw64\bin\git-lfs-{0}' -f $env:GIT_LFS_VERSION) ; `
& ${gitLfsPath}\git-lfs.exe install
Move-Item -Path "${gitLfsPath}\git-lfs.exe" -Destination 'c:\mingit\mingw64\bin\' ; `
Remove-Item -Path $gitLfsPath -Recurse -Force
Remove-Item GitLfs.zip -Force ; `
& c:\mingit\mingw64\bin\git-lfs.exe install
ARG user=jenkins
Expand Down

0 comments on commit 8b050d4

Please sign in to comment.