This is an archive of the discontinued LLVM Phabricator instance.

Migrate dockerfiles to use multi-stage builds.
ClosedPublic

Authored by ilya-biryukov on Mar 22 2018, 9:29 AM.

Details

Summary

We previously emulated multi-staged builds using two dockerfiles,
native support from Docker allows us to merge them into one,
simplifying our scripts.

For more details about multi-stage builds, see:
https://docs.docker.com/develop/develop-images/multistage-build/

Diff Detail

Repository
rL LLVM

Event Timeline

ilya-biryukov created this revision.Mar 22 2018, 9:29 AM
sammccall accepted this revision.Mar 26 2018, 6:54 AM
sammccall added inline comments.
docs/Docker.rst
64 ↗(On Diff #139457)

an incomplete dockerfile

This revision is now accepted and ready to land.Mar 26 2018, 6:54 AM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/utils/docker/nvidia-cuda/build/Dockerfile