Why is the Filebeat that I built myself more than 50 MB smaller than the one provided by Elastic?

Hello everyone,

I followed the Building Beats from the Source documentation in the Beats repository. After building, I ended up with a Filebeat binary around 90 MB, but the Filebeat binary downloaded from GitHub is about 150 MB. Am I missing some essential steps?

Go version: 1.19.4
OS: Linux/amd64
Version: 8.9.0

Official download page: Filebeat 8.9.0 | Elastic
Linux x86_64

My build result:

-rwxr-xr-x 1 root root 101710152 Oct 28 16:49 filebeat

Result from extracting filebeat-8.9.0-linux-x86_64.tar:

-rwxr-xr-x 1 root root 158869624 Oct 21 15:01 filebeat

build shell

# build
make mage

cd filebeat
mage build