Problem
Similar to dstmodders/docker-imagemagick#40:
It would be nice to have a -l, --list flag that will only list packages with their current versions as found inside Dockerfiles. This would make the script testing process easier when dealing with situations like dstmodders/docker-imagemagick#37.
Proposed solution
Add support for the -l, --list flag in the bin/bump-packages.sh script that will only list packages and their current versions.
Progress
Problem
Similar to dstmodders/docker-imagemagick#40:
Proposed solution
Add support for the
-l, --listflag in thebin/bump-packages.shscript that will only list packages and their current versions.Progress
FLAG_LISTvariable and setting its value through the argument parser.bin/bump-packages.shheader to include the new flag in help.update_alpine_dockerfile()andupdate_debian_dockerfile()to implement the new behaviour.