You can probably shrink your icon down (losslessly) by dropping it into ImageOptim. https://imageoptim.com/mac
...but really. ImageOptim is super awesome and zero-effort.
But really, why isn't ImageOptim itself available in command-line form?
> Automates ImageOptim, ImageAlpha, and JPEGmini for Mac to make batch optimisation of images part of your automated build process.
> Mac
Why would anyone run a CI server on a Mac?