[PR #1903] [MERGED] remove multistep build, build go last, allowing cached build layers (for debug image) #2386

Closed
opened 2025-12-29 03:21:01 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1903
Author: @kradalby
Created: 4/22/2024
Status: Merged
Merged: 4/24/2024
Merged by: @kradalby

Base: mainHead: kradalby/remove-multistep-debugbuild


📝 Commits (1)

  • 04b75dc remove multistep build, build go last, allowing cached build layers

📊 Changes

1 file changed (+8 additions, -15 deletions)

View changed files

📝 Dockerfile.debug (+8 -15)

📄 Description

Makes sure everything is installed first, then build go stuff.

Main purpose is to make us able to rebuild the container offline since we mostly have the first apt layers cached, but since we did go first, it would always invalidate.


🔄 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/juanfont/headscale/pull/1903 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 4/22/2024 **Status:** ✅ Merged **Merged:** 4/24/2024 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/remove-multistep-debugbuild` --- ### 📝 Commits (1) - [`04b75dc`](https://github.com/juanfont/headscale/commit/04b75dc608fb9f7d854e81ded9f06386bc520fff) remove multistep build, build go last, allowing cached build layers ### 📊 Changes **1 file changed** (+8 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile.debug` (+8 -15) </details> ### 📄 Description Makes sure everything is installed first, then build go stuff. Main purpose is to make us able to rebuild the container offline since we mostly have the first apt layers cached, but since we did go first, it would always invalidate. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:21:01 +01:00
adam closed this issue 2025-12-29 03:21:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2386