This is based on the GCP example project docker-clamav-malware-scanner, adapted to use Java.
This uses a custom runtime for a flexible service, based on the Jetty runtime
The actual malware scanning is performed by the Open-Source ClamAV service using the clamav-java library.