At the moment, the size of Docker image is about 1.6GB which is much too big just for running a Java console app. Thus, we should consider various options to shrink it down to a few hundreds of megabytes.
Options:
- use size-optimized base image, e.g. Alpine Linux
- replace JDK with JRE
- get rid of Firefox ESR
- offer an image variant that does not install any browser (including their WebDriver servers) at all
- ...
At the moment, the size of Docker image is about 1.6GB which is much too big just for running a Java console app. Thus, we should consider various options to shrink it down to a few hundreds of megabytes.
Options: