Last active
May 1, 2017 17:52
-
-
Save benton/f7124a60bd7d9f5c0ea3eb00071694ec to your computer and use it in GitHub Desktop.
LLVM 4.0 installation broken on Ubuntu 16.04?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN apt-get update && apt-get -y upgrade && apt-get install -y curl | |
RUN echo 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main' \ | |
>/etc/apt/sources.list.d/llvm.list | |
RUN echo 'deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main' \ | |
>>/etc/apt/sources.list.d/llvm.list | |
RUN curl http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - | |
RUN apt-get update && apt-get -y install clang-4.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment