News for hackers. Stuff that matters.
Re:What to do about GPU packages on PyPI? by kortex on Friday May 21, 2021 @07:59AM (#27232925)
Wow, that RUN trick is exactly what I've been looking for! I've spent hours and hours in Docker documentation and hadn't seen that functionality.

Looks like it might be buildkit-specific?

Re:What to do about GPU packages on PyPI? by westurner on Friday May 21, 2021 @04:13PM (#27239300)
AFAIU `RUN --mount=type=cache` is specific to moby (Docker Engine) with `DOCKER_BUILDKIT=1`, though buildah does support a build-time volume mount option and moby easily could as well:

"build time only -v option" https://github.com/moby/moby/issues/14080

"Build images with BuildKit" https://docs.docker.com/develop/develop-images/build_enhance...