Alpine Dockerfile Advantages of --no-cache Vs. rm /var/cache/apk/* : <p>When creating Dockerfiles using the Alpine image, I have often seen the use of the <code>apk --no-cache</code> and other times it is committed and instead I see <code>rm /var/cache/apk/*</code>.</p>

<p>I am curious to know making use of the <code>--no-cache</code> eliminates the need to later do a <code>rm /var/cache/apk/*</code>. I would also like to know if one style is favored over another.</p>
