Public | Automated Build

Last pushed: 2 years ago
Short Description
ClamAV Antivirus
Full Description

ClamAV Dockerfile

This repository contains a Dockerfile of ClamAV for Docker's trusted build published to the public Docker Registry.

Dependencies

Installation

  1. Install Docker.

  2. Download trusted build from public Docker Registry: docker pull blacktop/clamav

Alternatively, build an image from Dockerfile

docker build -t blacktop/clamav github.com/blacktop/docker-clamav

Usage

docker run -i -t blacktop/clamav EICAR

Output:

EICAR: 'Eicar-Test-Signature FOUND'

----------- SCAN SUMMARY -----------
Known viruses: 3324284
Engine version: 0.98.1
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 7.009 sec (0 m 7 s)

Todo

  • [x] Install/Run ClamAV
  • [ ] Start Daemon and watch folder with supervisord
  • [ ] Have container take a URL as input and download/scan file
  • [ ] Output Scan Results as formated JSON
  • [ ] Attach a Volume that will hold malware for a host's tmp folder
Docker Pull Command
Owner
blacktop
Source Repository