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

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

Original Pull Request: https://github.com/pocket-id/pocket-id/pull/856

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/pocket-id/pocket-id/pull/856 **State:** closed **Merged:** Yes --- 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
OVERLORD added the pull-request label 2025-10-09 16:53:21 +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#593