12 Commits

Author SHA1 Message Date
Martin André
11dcd27994 Switch to headless jre
Prefer the headless JRE wherever possible. This may be becessary to
adjust the override files for the customization of the containers where
java is installed.

Change-Id: I3479ac9e74aa9e860cf01db20bd7ab5f5cfc9c1a
2018-07-10 16:30:56 +02:00
Doug Szumski
af6c19203f Support configuration of Kafka package
This change makes it easier to configure the Kafka package. This
is useful, for example, when installing Monasca which currently
requires an older version of Kafka than that installed here.

The change also fixes an issue with circular symlinks, updates
kafka and verifies the sha512sum of the package. The sha512sum
was taken from here:

https://www.apache.org/dist/kafka/1.0.1/kafka_2.12-1.0.1.tgz.sha512

Change-Id: I79a5a32ee8e5edd915fa88fbc00d0d4ac08b8ebd
Partially-Implements: blueprint monasca-roles
2018-03-12 12:32:40 +00:00
Andrew Smith
4157165529 Enable kafka for rhel distro derivatives
Missing download of jre via openjdk package

Change-Id: Icce1a92f9707b435e1d4a4a75453e21b541b2a22
2018-01-25 14:51:34 -05:00
Andrew Smith
add07bd7de Bump kafka version to 1.0.0
Apache Kafka has gone to 1.0 release. Bump version from 0.11.0.2
to 1.0.0.

Change-Id: I1ea1aa021824981998f1d2fec111cfeeda1823d2
2018-01-24 11:07:51 -05:00
Jeffrey Zhang
d6b1cee0fe Bump kafka version to 0.11.0.2
Bump kafka version from 0.11.0.1 to 0.11.0.2. The old version is removed
on the download site already.

Change-Id: Ia6638313a060e52246ebbf833a9af1efc78907cf
Closes-Bug: #1733188
2017-11-20 13:58:49 +00:00
yanpeifei
58559e27c5 update kafka version.
The kafka version is not up to date,when i deploy kafka,today.

Change-Id: I19e914d3d64443616cf83e83ce1a13d52b7d81a1
2017-11-02 09:23:21 +00:00
Jawon Choo
31259fa595 Override image's meta info.
centos based images have wrong label info,
these changes fix own image's name and build-date.

Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c
Closes-Bug: #1680341
2017-05-03 11:08:17 +09:00
Chen
8c463a47a9 Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2
Use LABEL instruction instead of MAINTAINER (deprecated) instruc-
tion as suggested by Docker's official dockerfile guide.
docs.docker.com/engine/reference/builder/#maintainer-deprecated

Closes-Bug: #1683652

Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-20 16:50:05 +09:00
Marcin Juszkiewicz
69fef5cd59 debian: enable all images enabled for Ubuntu
Debian support is not maintained in Kolla so it got a bit behind Ubuntu
one. This changeset enables Debian for all images. Jessie (even with
backports) may be too old for some images though.

Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order
like it is done for RPM distributions.

Partially-Implements: blueprint multiarch-and-arm64-containers

Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
2017-04-04 22:48:18 +02:00
Sam Yaple
58eee09c15 use static uid/gid in images
This centralizes all user and group creation into a single source. This
will fix any current and furture uid/gid mismatches (such as with
nova-libvirt).

In the process, we also unify users between the distros in a standard
way. The users in the following containers change from thier defaults:

Ubuntu: _chrony user is now chrony
Ubuntu: memcache user is now memcached
All: qemu user is used for ownership and socket permissions

All uid and gid numbers are customizable via kolla-build.conf

Co-Authored-By: Kris Lindgren <klindgren@godaddy.com>
Change-Id: I120f26ab0683dc87d69727c3df8d4707e52a4543
Partially-Implements: blueprint static-uid-gid
2017-01-17 09:02:21 -03:00
Martin André
806a155f8e Download kafka binaries from within the container
By pulling kafka tgz this way rather than downloading it via the source
build mechanism, we can offer binary builds for kafka image.

Change-Id: I852049a4f86dba7181db25f149205add187071ab
2016-12-19 17:04:34 +01:00
Sam Yaple
259266ceb8 Add kafka image
Change-Id: I6c9b8f8b0cf254c2c3333ca789c5da364c7d5c73
Partially-Implements: blueprint monasca-containers
2016-12-12 16:13:29 +00:00