Created
December 4, 2015 00:27
-
-
Save enriclluelles/5cb17a4e13848979c184 to your computer and use it in GitHub Desktop.
Revisions
-
enriclluelles created this gist
Dec 4, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ FROM ubuntu:trusty RUN apt-get update RUN apt-get upgrade -y RUN apt-get -y install git cmake ninja-build clang uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config RUN sudo apt-get -y install clang-3.6 RUN sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.6 100 RUN sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.6 100 ADD build.sh / RUN chmod a+x /build.sh VOLUME /app WORKDIR /app ENTRYPOINT /build.sh /app This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/bin/bash cd $1 git clone https://github.com/apple/swift.git swift git clone https://github.com/apple/swift-llvm.git llvm git clone https://github.com/apple/swift-clang.git clang git clone https://github.com/apple/swift-lldb.git lldb git clone https://github.com/apple/swift-cmark.git cmark git clone https://github.com/apple/swift-llbuild.git llbuild git clone https://github.com/apple/swift-package-manager.git swiftpm git clone https://github.com/apple/swift-corelibs-xctest.git git clone https://github.com/apple/swift-corelibs-foundation.git cd swift && ./utils/build-script