Created
January 6, 2020 12:44
-
-
Save melbourne2991/2290df5b63babcbe006a0a0f0cf92296 to your computer and use it in GitHub Desktop.
This file contains 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: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