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

Slim image based on mambaorg/micromamba #319

Closed
wants to merge 3 commits into from
Closed

Slim image based on mambaorg/micromamba #319

wants to merge 3 commits into from

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Oct 14, 2022

This is an image similar to base but based on mambaorg/micromamba which is lightweight than jupyter/minimal-notebook without jupyter things pre-installed.
I think it is suitable as the basic "aiida only" image, has the advantages of:

  1. The system user can be changed, and set as aiida as default.
  2. Size is slim compared with base (741MB v.s 1.9 GB)
  3. Easy to control the startup scripts.

I also give a docker-compose file and tested it in my workstation so that it can work well with the Postgre container and rabbitmq container in a composed stack.

  • docker-compose image name configurable.
  • Duplicate AiiDA config files with base image.
  • Tests added

@unkcpz unkcpz marked this pull request as draft October 14, 2022 07:46
@danielhollas
Copy link
Contributor

@unkcpz do you know why the base image is so large compared to the slim one? Is it all the Jupyter stuff? If not perhaps we could trim it down, but still be based on the jupyter/minimal-notebook?

@unkcpz
Copy link
Member Author

unkcpz commented Oct 16, 2023

We have the docker image for aiida-core, which are like the base and base-with-services from this repo.
We decided still keep using the jupyter notebook docker stack as the base image which relieves the burden to check the compatibility of jupyter components (e.g. jupyter-client, jupyter-server).

@unkcpz unkcpz closed this Oct 16, 2023
@unkcpz unkcpz deleted the slim-image branch October 16, 2023 12:28
@unkcpz
Copy link
Member Author

unkcpz commented Oct 16, 2023

One more change we can have for this repo is we don't release the base and base-with-services to dockerhub and ghcr registry anymore. They only used internally for build lab and full-stack.

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

Successfully merging this pull request may close these issues.

2 participants