This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
java-openliberty: appsody build
images too large
#647
Labels
stack/java-openliberty
Issues related to java-openliberty stack
A
docker images
shows that a simple, default template app image from our stack (after `appsody build) is 564MB.OTOH, for the app in this guide (which is a bit bigger even, not that that matters):
https://openliberty.io/guides/containerize.html#building-your-docker-image
the image size is 395MB.
From doing
docker history ...
I think the issue is theCOPY --chown=1001:0 --from=0 /project/user-app/target/* /tmp/wars/
since we're copying EVERYTHING just to copy the WAR later.
Not saying I have a better solution for the problem we were trying to solve..just opening the issue.
The text was updated successfully, but these errors were encountered: