Docker utility to automatically squash
images before pushing (sqush=squash+push
).
This utility does nothing amazing, just what I normally need to do when pushing my images. So the tool is just something that saves me time in a very common workflow I used to manually do. If you find it useful, great; if not, you can live without knowing it even exists.
This script requires to have previously installed both Docker and docker-squash in your system.
wget https://github.com/wikier/docker-sqush/archive/0.3.tar.gz -O docker-sqush-0.3.tar.gz
tar -zxf docker-sqush-0.3.tar.gz
sudo cp docker-sqush-0.3/docker-sqush.sh /usr/local/bin/docker-sqush
docker-sqush foo/bar
git clone git@github.com:wikier/docker-sqush.git
cd docker-sqush
...
sudo cp docker-sqush.sh /usr/local/bin/docker-sqush
PRs are welcomed 😉
Available under Apache License, Version 2.0.
This utility has been developed in the context of SSIX, a research project partly funded by the European Union's Horizon 2020, Objective: Big data and Open Data Innovation and take-up, under grant agreement No 645425.