Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is the linux build so much bigger than the others? #4288

Closed
retrogradeorbit opened this issue Aug 16, 2019 · 2 comments
Closed

Why is the linux build so much bigger than the others? #4288

retrogradeorbit opened this issue Aug 16, 2019 · 2 comments

Comments

@retrogradeorbit
Copy link

Not a bug, just a question I'm having a hard time trying to find the answer to.

Take the 5.4.1 built artifacts for example:

darwin: 61.3MB
windows: 59.1MB
linux 537 MB!!

It's almost ten times the size!!

However the fly artifact, they are all about the same size.

What is going on here?

@kcmannem
Copy link
Member

kcmannem commented Aug 16, 2019

I believe we package the linux binary with our base resource types (git, docker, etc...). These resources are based off of ubuntu docker images which are quite large. Non-linux workers do not run resources (checks, gets, puts) but only tasks. So their binaries will be a lot smaller.

cc @cirocosta you've been working on something for this right?

@vito
Copy link
Member

vito commented Aug 16, 2019

We actually package the alpine variants for the binary distribution since otherwise it'd be even bigger.

We're planning to extract them out: concourse/rfcs#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants