Skip to content

Commit e54ffbe

Browse files
Merge branch '11.1.x' into 12.0.x
2 parents 9c70955 + 9dd1747 commit e54ffbe

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

pom.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>io.confluent</groupId>
77
<artifactId>common</artifactId>
8-
<version>6.0.3</version>
8+
<version>6.0.15</version>
99
</parent>
1010

1111
<groupId>io.confluent</groupId>
@@ -169,12 +169,6 @@
169169
<type>test-jar</type>
170170
<scope>test</scope>
171171
</dependency>
172-
<!-- Use a repackaged version of log4j with security patches. Default log4j v1.2 is a transitive dependency of connect-runtime, but it is excluded in common/pom.xml -->
173-
<dependency>
174-
<groupId>io.confluent</groupId>
175-
<artifactId>confluent-log4j</artifactId>
176-
<scope>test</scope>
177-
</dependency>
178172
<dependency>
179173
<groupId>org.apache.kafka</groupId>
180174
<artifactId>connect-runtime</artifactId>

src/test/java/io/confluent/connect/elasticsearch/helper/ElasticsearchContainer.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,15 @@ private void buildImage(DockerfileBuilder builder) {
352352

353353
if (isSslEnabled()) {
354354
log.info("Building Elasticsearch image with SSL configuration");
355+
356+
// Yum is not working by default, so enable it
357+
builder
358+
.run("sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*")
359+
.run("sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*");
360+
// SSL cert issues with the newer installed java using hmacPBESHA256, which isn't
361+
// supported by java 1.8
362+
builder.run("yum install -y java-1.8.0-openjdk-headless");
363+
355364
builder
356365
.copy("instances.yml", CONFIG_SSL_PATH + "/instances.yml")
357366
.copy("start-elasticsearch.sh", CONFIG_SSL_PATH + "/start-elasticsearch.sh")

0 commit comments

Comments
 (0)