-
Notifications
You must be signed in to change notification settings - Fork 26
Smaller docker images #6
Comments
Thank you @pierreozoux for reporting. I let @Kloadut and @nledez see what we can do for that one. And yes, feel free to contribute :) |
@frankrousseau, @pierreozoux: i started some work to have smaller docker images, see : https://forum.cozy.io/t/docker-smaller-images/1162. Any feedback and contribution are appreciated :) thx. |
Yes, didn't have time at the end :/ Thanks a lot @spiroid! I'll comment on the forum :) |
:) |
You could also use alpine linux as a base image, it would really slime down the size of the containers. |
I love it ❤️ |
I was thinking: you should not force the user to use the containers. Fox example, on my server, there is already nginx, I don't need another. Maybe then keep the full container and propose slim containers as began by @spiroid with a Compose file. It would be easier to integrate cozy in an existing stack. |
Yes it's the idea but for now it's not so easy to split ;) |
Hello @Yamakaky, For now the Docker image exist to simplify testing. We work on docker-compose, but it's not ready for publish. We focus on a better Debian packaging. And for alpine subject. This is a wonderfull distribution for simple apps. But Cozy may have some dependencies who come from external apps. We take the party to support only Debian & Ubuntu for the momment. And we plan to publish a docker-compose with separated services. We can't anounce a release date. But I can be very happy if community create one before. |
If you're interested in splitting the docker image in smaller images, we already initiated the work with several cozy-* images. It is working and i use it for my personal cozy instance. You could also have a look at that forum page : https://forum.cozy.io/t/docker-smaller-images/1162 that i'll keep updated when new featues / fixes will be added. |
@Yamakaky : you can clearly run this stack without the nginx part by removing it from the docker-compose file. I'll add a docker-compose file to run the stack without nginx :) |
Yep!
Checking this now.
It would be amazing to have smaller images.
I imagine something like:
I really love the way discourse is handling things:
https://github.com/discourse/discourse_docker/
I'll PR this week if I have time!
Cheers!
The text was updated successfully, but these errors were encountered: