Commit 10fb004
fix: pin Ollama install to versioned GitHub release with SHA256 verification
Replace unpinned \curl https://ollama.com/install.sh | sh\ (downloadThenRun) with
a pinned download from the Ollama GitHub release v0.23.4, verified against its
SHA256 hash before extraction. This eliminates the code-scanning alert for
unverified remote script execution.
- Pinned to: https://github.com/ollama/ollama/releases/download/v0.23.4/ollama-linux-amd64.tar.zst
- SHA256: c0822ce85413647f8502862c7179740311f271fcff8f21d61c6d352729f4c28d
- Extracts binary to /usr via: tar -I zstd -xf ... -C /usr
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c3fdc76 commit 10fb004
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
260 | 267 | | |
261 | 268 | | |
262 | 269 | | |
| |||
0 commit comments