Skip to content

Instantly share code, notes, and snippets.

@gnue
Created December 5, 2015 03:21
Show Gist options
  • Save gnue/55c9bda2b28d0b6c0edf to your computer and use it in GitHub Desktop.
Save gnue/55c9bda2b28d0b6c0edf to your computer and use it in GitHub Desktop.
build swift
# build-swift
#
# VERSION 0.0.1
FROM debian
MAINTAINER gnue
RUN apt-get update \
&& apt-get install -y 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 \
&& apt-get clean
WORKDIR /home/build-swift
RUN 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 \
&& git clone https://github.com/martine/ninja.git
ENTRYPOINT ["swift/utils/build-script"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment