onesaitplatform / onesaitplatform-cloud

Onesait Platform Community edition is a free, open-source Digital Platform that anyone can download and use to build a complete solution over it. This repo contains the Cloud Side of the Platform.
https://onesaitplatform.atlassian.net/wiki/spaces/OP/pages/360449/onesait+Platform+Cloud
Other
25 stars 31 forks source link

Docker optimizations #9

Closed iCesofT closed 5 years ago

iCesofT commented 5 years ago

With these optimizations, instead of:

REPOSITORY                                             TAG                    IMAGE ID            CREATED             SIZE
onesaitplatform/cache-server                           latest                 5f2910a27f25        2 minutes ago       208MB
onesaitplatform/api-manager                            latest                 23fb79da0c3e        2 minutes ago       419MB

we are getting:

REPOSITORY                                             TAG                    IMAGE ID            CREATED             SIZE
onesaitplatform/cache-server                           latest                 636b516dbe7d        11 seconds ago      174MB
onesaitplatform/api-manager                            latest                 4034b7636e5d        34 seconds ago      399MB

And also we add Java memory optimizations (see: http://icesoft.blog/2018/05/25/java-memory-optimized-docker-image/). Maybe you could have your own onesait Java docker image (i.e.: https://hub.docker.com/r/fjahijado/java/)

mmorancassy commented 5 years ago

Hi @iCesofT !

Thanks for your contribution! :) we see interesting points on it, but we cannot accept entirely to merge it in the Platform master branch.

We have check it out your Custom JRE image https://hub.docker.com/r/fjahijado/java/dockerfile and we think is a good idea :) probably we'll work on it

Great work! please continue contribute to the platform 👍

Kind Regards Miguel.M