[PATCH] D44787: Migrate dockerfiles to use multi-stage builds.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 22 09:29:14 PDT 2018


ilya-biryukov created this revision.
ilya-biryukov added reviewers: mehdi_amini, klimek.
Herald added a subscriber: llvm-commits.

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/


Repository:
  rL LLVM

https://reviews.llvm.org/D44787

Files:
  docs/Docker.rst
  utils/docker/build_docker_image.sh
  utils/docker/debian8/Dockerfile
  utils/docker/debian8/build/Dockerfile
  utils/docker/debian8/release/Dockerfile
  utils/docker/example/Dockerfile
  utils/docker/example/build/Dockerfile
  utils/docker/example/release/Dockerfile
  utils/docker/nvidia-cuda/Dockerfile
  utils/docker/nvidia-cuda/build/Dockerfile
  utils/docker/nvidia-cuda/release/Dockerfile
  utils/docker/scripts/build_install_llvm.sh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44787.139457.patch
Type: text/x-patch
Size: 15327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180322/c5b7a8b6/attachment.bin>


More information about the cfe-commits mailing list