-
Notifications
You must be signed in to change notification settings - Fork 15
Pre-install the gcc compiler to lab stack #333
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
Conversation
|
@unkcpz how much does this change increase the size of the image? |
Good question. The size increased quite a lot, the uncompressed |
|
Just google around and found two interesting tools for slim docker image: They can make the images multiple times thinner, deserve a try and then we can not too much care about the size. |
|
I would really like to avoid extra 800Mb just for pymatgen. I specifically
got rid of it in aiida-orca.
I wonder if there is a way to pin its version without installing it?
|
Agree, don't want to yield to
Okay, nice! But the dependency is from aiida-quantumespresso plugin side, and it not very easy to get rid of it. The other option (the only option I'd say 😣 if we don't bind with pymatgen in the image) is to install
What is your purpose of this? The problem I faced is the plugin need it but the |
|
Quick test with adding |
Could you please open a separate issue and describe in detail what the problem is? When I ran into this issue, I was able to solve it by installing pymatgen via pip separately from the Which suggests there is a way to install it via pip we just need to ensure it's the correct version. As an alternative, could you try installing |
danielhollas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change needs more discussion and exploration of possible solutions. Perhaps we could discuss on Tuesday meeting?
Yes, I think we need a discussion, let's do it tomorrow. I'll try to make a summary of issues about pymatgen. |
|
The failed build of |
|
The decision we made is to provide the |
|
For |
|
closed and re-addressed by #338 |
The main purpose to include gcc is to install
pymatgenby pip, otherwise the build will fail.