[PR #856] [MERGED] chore: strip debug symbol from backend binary #589

Open
opened 2025-10-09 16:53:16 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pocket-id/pocket-id/pull/856
Author: @maximerobine
Created: 8/20/2025
Status: Merged
Merged: 8/21/2025
Merged by: @kmendell

Base: mainHead: main


📝 Commits (2)

  • 8a0ec64 feat: strip debug symbol from backend binary
  • 4bc600e Merge branch 'main' into main

📊 Changes

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

View changed files

📝 scripts/development/build-binaries.sh (+1 -1)

📄 Description

Stripping debug symbols from backend binary to reduce binary (and docker image) size.

~/git/pocket-id main ❯ docker image ls
REPOSITORY                 TAG       IMAGE ID       CREATED          SIZE
pocket-id-opti             latest    eb413f6a47d5   22 minutes ago   89.7MB
pocket-id                  latest    9affda5ce232   24 minutes ago   121MB

Go linker documentation: https://pkg.go.dev/cmd/link


🔄 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/pocket-id/pocket-id/pull/856 **Author:** [@maximerobine](https://github.com/maximerobine) **Created:** 8/20/2025 **Status:** ✅ Merged **Merged:** 8/21/2025 **Merged by:** [@kmendell](https://github.com/kmendell) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`8a0ec64`](https://github.com/pocket-id/pocket-id/commit/8a0ec645104c5bebbf98602a80173179c268c9c0) feat: strip debug symbol from backend binary - [`4bc600e`](https://github.com/pocket-id/pocket-id/commit/4bc600e69e594b46851893fb6aea5ecc09107114) Merge branch 'main' into main ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `scripts/development/build-binaries.sh` (+1 -1) </details> ### 📄 Description Stripping debug symbols from backend binary to reduce binary (and docker image) size. ``` ~/git/pocket-id main ❯ docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE pocket-id-opti latest eb413f6a47d5 22 minutes ago 89.7MB pocket-id latest 9affda5ce232 24 minutes ago 121MB ``` Go linker documentation: https://pkg.go.dev/cmd/link --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-09 16:53:16 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#589