Pkg artifact download when lazy=true

I’m building a docker image with an application contained within and all pre-requisites are provided. This is important because the image runs without an internet connection. However I found (to my surprise) that some artifacts were being (attempted to) downloaded at the time the program was invoked.

I could work around this by triggering a dummy run within the build phase, but ideally I’d like to know if a mechanism exists to force download the artifacts a-priori?