commit | ef91e05795f3eb75c0cb8a7983c49f8acfe2e1ef | [log] [tgz] |
---|---|---|
author | Bill Farner <wfarner@apache.org> | Sat Dec 19 17:34:31 2015 -0800 |
committer | Bill Farner <wfarner@apache.org> | Sat Dec 19 17:34:35 2015 -0800 |
tree | 990bdab49d98c5a417990ba06f0234cf5f486fe9 | |
parent | ac6463c1557d88431504979d5983e5c760fcd705 [diff] |
Add yum install of which for centos build, gradle uses that to find the jdk install.
This repository maintains configuration and tooling for building binary distributions of Apache Aurora.
Binaries are built within Docker containers that provide the appropriate build environment for the target platform. You will need to have a working Docker installation before proceeding.
Fetch a source distribution, such as an official one. Alternatively, you can also build from an arbitrary git commit by instead preparing sources from the Aurora source repository:
git archive --prefix=apache-aurora-$(cat .auroraversion)/ -o snapshot.tar.gz HEAD
Run the builder script, providing the distribution platform and the source distribution archive you downloaded in (1). The example below will build Aurora 0.9.0 debs for Ubuntu Trusty.
./build-artifact.sh builder/deb/ubuntu-trusty \ ../apache-aurora-0.9.0.tar.gz \ 0.9.0
When this completes, debs will be placed in dist/builder/deb/ubuntu-trusty/
.
There are only two requirements for a ‘builder’ to satisfy:
Dockerfile
to provide the repeatable build environmentbuild.sh
script that creates artifactsPlease see the makeup of other builders for examples.