Skip to content

noprotocol/image-optimizers-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku image optimizers buildpack

This buildpack will provide the following image optimizer binaries to your Heroku app:

  • advpng
  • gifsicle
  • jpegoptim
  • jpegtran
  • optipng
  • pngcrush
  • pngquant
  • cwebp
  • dwebp

This buildpack supports the following Heroku stacks:

During compile time of this buildpack the following steps will be done:

  • Detect the current used stack
  • Copy the binaries in the folder vendor/optimizers inside the $BUILD_DIR
  • Symlinks to the binaries will be added to ensure that possible following buildpacks will have these binaries available
  • The path vendor/optimizers will be added to the PATH environment through the optimizers.sh script which is located in the .profile.d folder
  • At the end the version of each binary is displayed

Installation/Usage

To use this buildpack you can add it by multiple ways to your Heroku app. Please see the Heroku documentation for further information.

About

Heroku image optimizers buildpack

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%