buildkite / docker-buildkite-agent

Previous home of buildkite/agent docker image scripts
26 stars 14 forks source link

Squash our final images #56

Closed toolmantim closed 6 years ago

toolmantim commented 7 years ago

The intermediate layers are useless to end users here, so we should probably just squash the final image.

lox commented 7 years ago

Error response from daemon: squash is only supported with experimental mode

:(

toolmantim commented 7 years ago

Pretty sure it keeps the FROM alpine layer still in there tho, so that's cached. I don't imagine much of the intermediate layers of our image are re-used between image releases, if that's what you're wondering? TBH I don't exactly know the exact benefits here.

lox commented 7 years ago

If we bumped our agent stack to the latest, I think this would build @toolmantim

lox commented 7 years ago

Rebuilding this to see how it goes!

sj26 commented 6 years ago

We're building the Docker images over in the buildkite agent repository now, let's continue this over there!