l7mp / stunner-gateway-operator

STUNner Kubernetes Gateway Operator
Apache License 2.0
15 stars 6 forks source link

chore(CI): Reduce binary size in Docker builds #17

Closed levaitamas closed 1 year ago

levaitamas commented 1 year ago

This PR removes debug info from the binary manager in Docker builds by using standard go link options. This change reduces the binary from 47M to 33M.

rg0now commented 1 year ago

Wow, thanks, this seems really useful! It seems the stunnerd Dockerfile already contains the necessary linker flags