Changed Dockerfiles to install LLVM into /usr/local

Summary:
Previously, the installation path was simply '/'.
Using '/usr/local' would ensure that LLVM installation does not
conflict with software installed via package managers.

Reviewers: mehdi_amini, klimek

Reviewed By: klimek

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D37213

llvm-svn: 311890
This commit is contained in:
Ilya Biryukov 2017-08-28 15:12:24 +00:00
parent 3876077ac7
commit 867e36de38
3 changed files with 3 additions and 3 deletions

View File

@ -18,4 +18,4 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Unpack clang installation into this image.
ADD clang.tar.gz /
ADD clang.tar.gz /usr/local/

View File

@ -21,4 +21,4 @@ LABEL maintainer "Maintainer <maintainer@email>"
# Unpack clang installation into this container.
# It is copied to this directory by build_docker_image.sh script.
ADD clang.tar.gz /
ADD clang.tar.gz /usr/local/

View File

@ -18,6 +18,6 @@ FROM nvidia/cuda:8.0-devel
LABEL maintainer "LLVM Developers"
# Unpack clang installation into this container.
ADD clang.tar.gz /
ADD clang.tar.gz /usr/local/
# C++ standard library and binutils are already included in the base package.