Skip to content

Instantly share code, notes, and snippets.

@gnue
Created December 5, 2015 03:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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