'Is /tmp mounted as tmpfs by BuildKit?

Using BuildKit do I have to mount /tmp as a temporary volume explicitly with --mount=type=tmpfs,target=/tmp for each RUN or is it implicitly done so?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source