Skip to content

Commit

Permalink
use variable for git-lfs.exe path
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve authored Sep 13, 2023
1 parent ab93b37 commit de2a24b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion windows/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
Invoke-WebRequest $url -OutFile 'GitLfs.zip' -UseBasicParsing ; `
Expand-Archive GitLfs.zip -DestinationPath c:\mingit\mingw64\bin ; `
Remove-Item GitLfs.zip -Force ; `
& c:\mingit\mingw64\bin\git-lfs-3.4.0\git-lfs.exe install
$gitLfsPath = 'c:\mingit\mingw64\bin\git-lfs-{0}' -f $env:GIT_LFS_VERSION) ; `
& ${gitLfsPath}\git-lfs.exe install

ARG user=jenkins

Expand Down

0 comments on commit de2a24b

Please sign in to comment.