commit | f31eb5f04e451a1b06407416d271a9f23bf6946f | [log] [tgz] |
---|---|---|
author | Stefan Podkowinski <s.podkowinski@gmail.com> | Fri Feb 17 14:19:12 2017 +0100 |
committer | Michael Shuler <michael@pbandjelly.org> | Wed Feb 22 09:02:38 2017 -0600 |
tree | f36370d893a8ee2df7fd9f978378421aa347cd4f | |
parent | ac05c7153bb290572cf1f7a98ea9fc652ca965e4 [diff] |
Update Dockerfiles for building RPMs and Debian packages * Creates re-usable docker images for build environment * Actual build is executed using `docker run` and dedicated build scripts * Resulting packages will end up in local dist directory
Collection of scripts that can be used to create Cassandra Linux packages and to push them to repositories.
docker build -f docker/jessie-image.docker docker/
docker build -f docker/centos7-image.docker docker/
docker run -v `pwd`/dist:/dist `docker images -f label=org.cassandra.buildenv=centos -q` /home/build/build-rpms.sh <branch> <version>
docker run -v `pwd`/dist:/dist `docker images -f label=org.cassandra.buildenv=jessie -q` /home/build/build-debs.sh <branch>
You should find newly created Debian and RPM packages in the dist
directory.
TODO