Skip to content

Instantly share code, notes, and snippets.

@benton
Last active May 1, 2017 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benton/f7124a60bd7d9f5c0ea3eb00071694ec to your computer and use it in GitHub Desktop.
Save benton/f7124a60bd7d9f5c0ea3eb00071694ec to your computer and use it in GitHub Desktop.
LLVM 4.0 installation broken on Ubuntu 16.04?
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