[PR #96] [MERGED] feat: add Dockerfile for cross-compiling #205

Closed
opened 2026-02-28 14:26:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/devgianlu/go-librespot/pull/96
Author: @felixstorm
Created: 9/17/2024
Status: Merged
Merged: 10/20/2024
Merged by: @devgianlu

Base: masterHead: feature/add-build-cross-compile


📝 Commits (2)

  • f3ef85e chore: add cross compilation documentation
  • f1899ff ci: use Docker to build release

📊 Changes

4 files changed (+156 additions, -123 deletions)

View changed files

📝 .github/workflows/release.yml (+17 -123)
CROSS_COMPILE.md (+77 -0)
Dockerfile.build (+60 -0)
📝 README.md (+2 -0)

📄 Description

It's basically a copy of .github/workflows/release.yml in a Dockerfile and enables one to cross-build also for other platforms without having to do or wait for a GitHub release.

I was only able to test the results for x86-64-linux-gnu and arm-rpi-linux-gnueabihf on actual hardware but the other two targets at least compile without errors.


🔄 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/devgianlu/go-librespot/pull/96 **Author:** [@felixstorm](https://github.com/felixstorm) **Created:** 9/17/2024 **Status:** ✅ Merged **Merged:** 10/20/2024 **Merged by:** [@devgianlu](https://github.com/devgianlu) **Base:** `master` ← **Head:** `feature/add-build-cross-compile` --- ### 📝 Commits (2) - [`f3ef85e`](https://github.com/devgianlu/go-librespot/commit/f3ef85e6d7e74f9299160d54766bad3927a07471) chore: add cross compilation documentation - [`f1899ff`](https://github.com/devgianlu/go-librespot/commit/f1899ff1dda65a6d949b714d2094e1660ab8bb73) ci: use Docker to build release ### 📊 Changes **4 files changed** (+156 additions, -123 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yml` (+17 -123) ➕ `CROSS_COMPILE.md` (+77 -0) ➕ `Dockerfile.build` (+60 -0) 📝 `README.md` (+2 -0) </details> ### 📄 Description It's basically a copy of `.github/workflows/release.yml` in a `Dockerfile` and enables one to cross-build also for other platforms without having to do or wait for a GitHub release. I was only able to test the results for `x86-64-linux-gnu` and `arm-rpi-linux-gnueabihf` on actual hardware but the other two targets at least compile without errors. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:26:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-librespot#205
No description provided.