neomantra / docker-onload

Docker tooling for Solarflare's OpenOnload
https://hub.docker.com/r/neomantra/onload/
MIT License
25 stars 9 forks source link

Use multi-stage builds for thinner packages #4

Open neomantra opened 4 years ago

neomantra commented 4 years ago

Currently a ton of build dependencies are left over from OpenOnload installation. I do a good job of cleaning up build artifacts though. Still the packages weigh in at >400MB.

By using multi-stage builds, we should be able to install the bare minimum and get much thinner images.