Created
June 13, 2016 08:39
-
-
Save romainmenke/62fe3993db3962ef7bb963f2008112a7 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:15.10 | |
RUN buildDeps='git cmake ninja-build uuid-dev icu-devtools libbsd-dev \ | |
libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev \ | |
libncurses5-dev pkg-config ca-certificates python rsync file'; \ | |
runDeps='libicu-dev clang'; \ | |
apt-get update \ | |
&& apt-get -y install $buildDeps $runDeps --no-install-recommends \ | |
&& apt-get clean \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& git config --global user.email "root@example.com" \ | |
&& git config --global user.name "Root" | |
# Linux OS utils and dependencies | |
RUN apt-get update && apt-get install -y \ | |
libcurl4-openssl-dev \ | |
openssl \ | |
libssl-dev \ | |
openjdk-7-jdk | |
COPY swift-from-source/clang /src/clang | |
COPY swift-from-source/cmark /src/cmark | |
COPY swift-from-source/compiler-rt /src/compiler-rt | |
COPY swift-from-source/llbuild /src/llbuild | |
COPY swift-from-source/lldb /src/lldb | |
COPY swift-from-source/llvm /src/llvm | |
COPY swift-from-source/swift /src/swift | |
COPY swift-from-source/swift-corelibs-foundation /src/swift-corelibs-foundation | |
COPY swift-from-source/swift-corelibs-libdispatch /src/swift-corelibs-libdispatch | |
COPY swift-from-source/swift-corelibs-xctest /src/swift-corelibs-xctest | |
COPY swift-from-source/swift-integration-tests /src/swift-integration-tests | |
COPY swift-from-source/swiftpm /src/swiftpm | |
RUN /src/swift/utils/build-script --preset=buildbot_linux install_destdir=/tmp/install installable_package=/tmp/swift-with-nsurlsession.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment