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

Make the resulting container images smaller #76

Open
jkremser opened this issue Feb 18, 2019 · 1 comment
Open

Make the resulting container images smaller #76

jkremser opened this issue Feb 18, 2019 · 1 comment

Comments

@jkremser
Copy link
Member

Currently, because of the dogen/concreate tool and the fact that the Dockerfile (that is actually generated by the dogen/concreate tool, but at the same time is part of the repo(?)) isn't optimal and creates some extra layers, the images are 250 megs larger than they should be.

see also:
radanalyticsio/spark-operator#194 (comment)

If we migrate from automatic {dockerhub|quay} builds that are currently based on a git push trigger and they build that sub-optimal Dockerfile; to something in Travis CI, we could also run the docker-squash tool and instead of 900MB the image would be 650MB. Using the same (generated) Dockerfile.

To be honest, I'd rather see using the Dockerfiles as a "single source of truth" instead of those yaml descriptors that are kind of Red Hat specific and are there only for productization / dogfooding efforts :) but I am being realistic and it's much quicker to "fix" that image size using the travis and docker-squash.

@rimolive
Copy link
Member

PR #110 should help in this, as the build process is moved to podman with layer squashing enabled.

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

2 participants