[PR #558] [MERGED] add dockerfile for building linux binaries #10220

Closed
opened 2026-04-12 22:55:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/558
Author: @jmorganca
Created: 9/20/2023
Status: Merged
Merged: 9/22/2023
Merged by: @jmorganca

Base: mainHead: dockerfile-build


📝 Commits (7)

📊 Changes

3 files changed (+43 additions, -0 deletions)

View changed files

📝 .dockerignore (+2 -0)
Dockerfile.build (+29 -0)
scripts/build_linux.sh (+12 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/558 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 9/20/2023 **Status:** ✅ Merged **Merged:** 9/22/2023 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `dockerfile-build` --- ### 📝 Commits (7) - [`806513c`](https://github.com/ollama/ollama/commit/806513c49216be6f1a254d83c54f7c4f9edb2f2d) add dockerfile for building linux binaries - [`f6cbfa5`](https://github.com/ollama/ollama/commit/f6cbfa5afcef996cb54d1d466134b0f11711dc9f) fix go compile - [`8f7af5b`](https://github.com/ollama/ollama/commit/8f7af5bd3e5b3fcb9676d53f1bdc06039db994db) remove unused `TARGETARCH` - [`ede3180`](https://github.com/ollama/ollama/commit/ede3180f96d68e9b9c27d635a3df3e5b9f5ca7bf) Update Dockerfile.build - [`4b79ea9`](https://github.com/ollama/ollama/commit/4b79ea9edfb683274aaf7b1a4ff6f3efa0c1e4d6) Update scripts/build_linux.sh - [`d400ac4`](https://github.com/ollama/ollama/commit/d400ac4063395324c3e252706a0698b2b630d9ec) move `yum` install to one line - [`7a69347`](https://github.com/ollama/ollama/commit/7a693473cd58cca7e028b5476775820ada095653) combine `RUN` lines ### 📊 Changes **3 files changed** (+43 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.dockerignore` (+2 -0) ➕ `Dockerfile.build` (+29 -0) ➕ `scripts/build_linux.sh` (+12 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 22:55:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#10220