Skip to content

Instantly share code, notes, and snippets.

@benton
Last active May 1, 2017
Embed
What would you like to do?
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