A container image with ClamAV (open-source antivirus engine) binaries and linked libraries, for use with AWS Lambda container images.
The base image used is public.ecr.aws/lambda/provided:al2
, running Amazon Linux 2.
The binaries are located under /opt/bin/
and the linked libraries under /opt/lib/
.
Copy the Lambda layer in a Dockerfile:
FROM public.ecr.aws/lambda/provided:al2
COPY --from=andreswebs/clamav-lambda /opt/ /opt
Or use it directly as a base image:
FROM andreswebs/clamav-lambda
Andre Silva @andreswebs
This project is licensed under the Unlicense.
Based on:
https://github.com/upsidetravel/bucket-antivirus-function
https://github.com/truework/lambda-s3-antivirus
https://aws.amazon.com/blogs/compute/working-with-lambda-layers-and-extensions-in-container-images/