summaryrefslogtreecommitdiff
path: root/docker/logstash/Dockerfile.j2
AgeCommit message (Collapse)AuthorFilesLines
2019-10-02There is no Java 8 in Debian 'buster' (part 3)Marcin Juszkiewicz1-1/+1
Good to have proper Java version. Better is when JAVA_HOME is also adjusted to point to proper directory. And to have it set proper way. Change-Id: I0f83c3498028135751b0b887665d009e5e19410f (cherry picked from commit 0383aaca7b6282e69761e4c44a7d8e509305e107)
2019-08-15There is no Java 8 in Debian 'buster'Marcin Juszkiewicz1-2/+9
Debian 'buster' release contains Java 11 only. So kafka, logstash, storm images needed adjustments. Change-Id: I9f1e809d0ef1955b832dd384912f880088426306 (cherry picked from commit 307ae614546c4d094bae5b49477b0de88b708738)
2019-02-19debian/ubuntu: introduce 'debian_arch' variableMarcin Juszkiewicz1-9/+1
Many images have 'if x86_64 then amd64 elif aarch64 then arm64' check to comply with Debian like architecture names in several projects. This patch creates 'debian_arch' variable which can be used in all Docker files (similar to 'base_arch' one). All required images got converted to use it. Change-Id: I9c5e6f13d6c9b24fe323408512bd5aef290111ad
2019-01-17Use base_package_typeAlex Schultz1-4/+4
This change updates the docker files to use base_package_type instead of doing specific distro checks for the rhel/deb generic cases. The base_distro is still available and is used when a specific distro needs a customization but if the differences are purely rpm vs deb, then the base_package_type can be used. Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2018-09-24Downgrade Logstash for MonascaDoug Szumski1-3/+27
Logstash was added to Kolla as part of the effort to deploy Monasca. Monasca uses Kafka messaging version 0.9 which is not supported by Logstash 5.x with the default Kafka input/output plugins. An attempt to downgrade the plugins to the 4.x series which should be compatible with messaging version 0.9 and Logstash 5.x failed. Therefore, until Monasca is upgraded (work is ongoing) this patch downgrades Logstash to 2.4.1. Although it would have been simpler to perform the downgrade by blacklisting the Logstash 5.x package which is provided as part of the official ELK repo and installing the official repo for Logstash 2.4.1, Ubuntu 18.04 no longer accepts SHA1 hashes (for good reason) and will not install Logstash 2.4.1 from this repo (fails with GPG error). This approach does however work for Centos, but for consistency it was not used. This change therefore modifies the Logstash dockerfile, and directly downloads and installs the Logstash 2.4.1 package. It should be reverted as soon as Monasca is upgraded. Partially-Implements: blueprint monasca-containers Change-Id: I58fba9ceded4b3a198136df084c7d37365ab47a8
2018-07-11Add support for building LogstashDoug Szumski1-0/+44
Add support for building Logstash 5.x for both Centos and Debian based x86 distros. Partially-Implements: blueprint monasca-containers Change-Id: I4e2422d1cd2ae4c1f4aa63e8e543e725a1dc840c