Sign inSign up

johnfmorton/squoosh

By johnfmorton

•Updated over 4 years ago

Dockerfile for squoosh-cli.

Image
0

373

johnfmorton/squoosh repository overview

⁠johnfmorton/squoosh

This image contains an installation of Squoosh CLI⁠.

⁠Basic use

From the command line, navigate to the directory containing the images you want to compress. Then run the following command.

docker run --rm -it -v `pwd`:/app johnfmorton/squoosh

You will be presented with another command prompt from within the container. You can now execute a squoosh-cli command. For example:

squoosh-cli --wp2 auto *.png

Refer to the documentation⁠ for an exhaustive list of options for Squoosh CLI.

⁠More information

See the GitHub repo for additional documentation on using this Dockerfile: https://github.com/johnfmorton/docker-squoosh-cli/⁠

Where to file issues: https://github.com/johnfmorton/docker-squoosh-cli/issues⁠

Tag summary

Content type

Image

Digest

Size

48.1 MB

Last updated

over 4 years ago

docker pull johnfmorton/squoosh