corretto / corretto-docker

Dockerfiles for Amazon Corretto Official images.
https://hub.docker.com/_/amazoncorretto
MIT No Attribution
156 stars 66 forks source link

Please consider to remove src.zip from amazoncorretto:x.x.x-alpine images #139

Closed armsargis closed 1 year ago

armsargis commented 1 year ago

Please consider possibility to remove src.zip from amazoncorretto:x.x.x-alpine images, I guess its useless to have sources in JDK for runtime environment or probably nice to have another image amazoncorretto:x.x.x-alpine-slim.

/usr/lib/jvm/java-17-amazon-corretto # ls -lha /usr/lib/jvm/default-jvm/lib/src.zip -rw-r--r-- 1 root root 49.3M Jan 10 21:49 /usr/lib/jvm/default-jvm/lib/src.zip

it adding additional 50M.

Thanks

benty-amzn commented 1 year ago

Hi, thanks for contacting us about this. We agree this would be a good improvement and will look into it for a future release. We'll update this issue when images without src.zip are available.

lutkerd commented 1 year ago

Changes have been merged and we will release with the Q3 updates on July 18th.

lutkerd commented 1 year ago

Latest AmazonCorretto:xx-alpine images do not have the src.zip.