Page MenuHomePhabricator

Experiment with buildkit's llb.ExecOp.AddMount in aggregate images
Closed, InvalidPublic

Description

BuildKit's LLB library provides a curious operation called AddMount that seems to mount sources at points in the resulting image filesystem. If this operation does what it seems to, this would be a powerful way to aggregate MW component images into an integrated image for MW versions.

We should run a small experiment with it and see what the resulting image graph looks like.

Event Timeline

This is akin to the experimental RUN --mount Dockerfile instructions which only mount temporary volumes for use in the build container. These instructions cannot be used to aggregate sources into a final image for deployment.