blob: 64374f01b5ec101538d14c4fe3ea18adc3b9c699 [file] [log] [blame]
FROM ubuntu:trusty
MAINTAINER Robin Sommer <>
# Setup environment.
ENV PATH /opt/llvm/bin:$PATH
# Default command on startup.
CMD bash
# Setup packages.
RUN apt-get update && apt-get -y install cmake git build-essential vim python
# Copy install-clang over.
ADD . /opt/install-clang
# Compile and install LLVM/clang. We delete the source directory to
# avoid committing it to the image.
RUN /opt/install-clang/install-clang -j 4 -C /opt/llvm