This move ensures that the apt-get purge of curl lines up with its installation to prevent the image from being larger than necessary with files that are inaccessible in the final image.
Only 5.2 was updated since it is the only one with the apt-get purge.
This move ensures that the
apt-get purge
ofcurl
lines up with its installation to prevent the image from being larger than necessary with files that are inaccessible in the final image.Only
5.2
was updated since it is the only one with theapt-get purge
.Follow up to https://github.com/docker-library/official-images/pull/15380