After installing requirements, check if HEAD has changed and bust cache for RUN instruction for wget archive