Page MenuHomePhabricator

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


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

dduvall created this task.Nov 2 2020, 7:11 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 2 2020, 7:11 PM
dduvall closed this task as Invalid.Nov 6 2020, 5:47 PM

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.