Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 884 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 884 Bytes

Heroku Image-Optim Buildpack

Add binaries for image-optim on Heroku, can be used with heroku-buildpack-multi.

Built-in support for image-optim gem, creation of .image-optim.yml config file.

Binaries in this buildpacks :

  • advpng
  • gifsicle
  • jpegoptim
  • jpegtran
  • jhead
  • jpeg-recompress
  • optipng
  • pngcrush
  • pngquant

Binaries are in this git repo in vendor/image-optim

On compilation :

  • Binaries are copied into vendor/image-optim
  • Symlink to binaries is added to ensure next buildpacks will have binaries available
  • vendor/image-optim is added to PATH through a .profile.d script
  • Add config file .image-optim.yml if Gemfile present
  • Version of each binaries is displayed

Credits

© 2020 Pedro Moreira

Forked from https://github.com/bobbus/image-optim-buildpack

Released under the MIT License.