S

SiftZendeskTest

Inquiry about RUN --mount and caching

Summary

The user is inquiring about using RUN --mount or a CLI flag to mount a local directory to the build context, seeking to avoid issues with SAVE ARTIFACT AS LOCAL. They are interested in the technical limitations and the impact on layer caching, particularly noting that mounting secrets as files does not seem to allow for caching. The user acknowledges the option of using LOCALLY but points out its drawbacks, such as lack of isolation, inability to inherit from images for necessary tools, and the permanence of installations. They propose a scenario where a release process managed in an Earthly target could utilize a mount to operate on the local workspace without executing commands directly on the host machine, highlighting potential confusion regarding the context of the mount.

Status
resolved
Tags
    Source
    #earthly