-
Notifications
You must be signed in to change notification settings - Fork 78
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
Include gcc package in container #638
Conversation
If those packages are not required by this base image, we should avoid increasing the size of the image. Any other custom image that uses this one as a base can install any necessary components. |
How do we handle the implicit coupling between those images and this base image? The issue is that this image uses a custom |
Many python packages will compile native extensions and require GCC
@sc68cal what is the size of the image build after adding these packages? |
I don't think this a big deal, It is a common a good practice to use a non-root user as default and I think it is always expected to inspect the original source if you are going to alter/extend the original image. On the other hand, we should not add packages that are not strictly required only "just-in-case". Who extends the image is responsible to know what it is needed and how to do it. |
I don't want to open an issue for this since it's a lot of mandatory fields for a feature request, but since we've broached the subject of custom images layered overtop of this image, can we consider setting Or am I looking at this completely wrong and this container is meant exclusively for CI/CD for PRs against this repository? I was originally maintaining my own |
Hi @sc68cal The ansible-rulebook image is intended to be used as a base decision environment for eda-server as well as a standalone CLI tool (in addition to our CI workflows) so, while it is not its main purpose, the extensibility of the image is in the scope. I think your request is reasonable. Look at the work of #639 done by @dhaustein |
This change was finally added in #616 |
Many python packages will compile native extensions and require GCC