Docker images should be refactored. Currently, containers are 3+ Gb in size which takes long time to pull into kubernetes and reduces node disk space, increasing response time.
Refactor would look somewhat like 👇
# org.geppetto/utilities/docker/geppetto/Dockerfile
FROM metacell/java-virgo-maven:development as build-geppetto
# { ... }
FROM metacell/java-virgo-maven:development
COPY --from=build-geppetto /${SERVER_HOME}/repository/usr/*.war /${SERVER_HOME}/repository/usr/*.war
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Docker images should be refactored. Currently, containers are 3+ Gb in size which takes long time to pull into kubernetes and reduces node disk space, increasing response time.
Refactor would look somewhat like 👇
And we have to remove this from https://github.com/MetaCell/java-virgo-maven/blob/development/Dockerfile
We could also look deeper into https://github.com/MetaCell/java-virgo-maven/blob/development/Dockerfile and check what is actually needed inside there to run the geppetto server ones we have the war files and remove all the rest.