Skip to content

Instantly share code, notes, and snippets.

@melbourne2991
Created January 6, 2020 12:44
Show Gist options
  • Save melbourne2991/2290df5b63babcbe006a0a0f0cf92296 to your computer and use it in GitHub Desktop.
Save melbourne2991/2290df5b63babcbe006a0a0f0cf92296 to your computer and use it in GitHub Desktop.
FROM ubuntu:18.04
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install curl -y
RUN apt-get install xz-utils -y
RUN apt-get install build-essential -y
ENV LLVM_NAME clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04
RUN curl http://releases.llvm.org/9.0.0/${LLVM_NAME}.tar.xz -o ./llvm.tar.xz
RUN mkdir llvm && tar xf llvm.tar.xz -C llvm --strip-components 1
RUN apt-get install zlib1g-dev -y
RUN apt-get install libtinfo-dev -y
RUN apt-get install libxml2-dev -y
ENV PATH="/llvm/bin:${PATH}"
WORKDIR /app
COPY . .
RUN make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment