DEV Community

Discussion on: Small Alpine Linux containers with Java

Collapse
 
l1x profile image
Istvan

This is exactly what I am doing:

Step 4/7 : RUN ["/opt/jdk/jdk-13/bin/jlink", "--compress=2", "--module-path", "/opt/jdk/jdk-13/jmods/",  "--add-modules", "java.base", "--output", "/jlinked"]
Collapse
 
brunoborges profile image
Bruno Borges

Hhmmm.... Thanks. I missed that. But unclear how the image is still at 41mb.