emqx / emqx-docker

An Open-Source, Cloud-Native, Distributed MQTT Message Broker for IoT.
Apache License 2.0
31 stars 13 forks source link

Move curl installation to `apt-get purge` RUN line #47

Closed yosifkit closed 1 year ago

yosifkit commented 1 year ago

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.

Follow up to https://github.com/docker-library/official-images/pull/15380