Skip to content

clearsummit/heroku-buildpack-clamav

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-clamav

A heroku buildpack for setting up a clamd daemon.

Usage

  1. Add heroku buildpack apt: heroku buildpacks:add --index 1 heroku-community/apt
  2. Add Aptfile in root directory with content clamav clamav-daemon clamav-freshclam
  3. Add this buildpack in app.json: { "url": "https://github.com/riskmethods/heroku-buildpack-clamav" }
  4. Change Procfile worker line to this: worker: bin/start-clamd bundle exec sidekiq

Notes

The only change in this buildpack is to not install the virus definiations at slug compile time. Instead the worker that needs them should add a .profile file to pull the virus definitions on boot. This was done because the virus definitions are ~200MB-300MB, and the max slug size on Heroku is 500MB.

About

heroku buildpack that configures clamav

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%